org.bouncycastle.asn1.est
Class CsrAttrs
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.est.CsrAttrs
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class CsrAttrs
- extends ASN1Object
CsrAttrs ::= SEQUENCE SIZE (0..MAX) OF AttrOrOID
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CsrAttrs
public CsrAttrs(AttrOrOID attrOrOID)
- Construct a CsrAttrs object containing one AttrOrOID.
- Parameters:
attrOrOID
- the AttrOrOID to be contained.
CsrAttrs
public CsrAttrs(AttrOrOID[] attrOrOIDs)
getInstance
public static CsrAttrs getInstance(java.lang.Object obj)
getInstance
public static CsrAttrs getInstance(ASN1TaggedObject obj,
boolean explicit)
getAttrOrOIDs
public AttrOrOID[] getAttrOrOIDs()
size
public int size()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- Description copied from class:
ASN1Object
- Method providing a primitive representation of this object suitable for encoding.
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.