ASN1Encodable
, Encodable
public class Extensions extends ASN1Object
Constructor | Description |
---|---|
Extensions(Extension extension) |
Base Constructor
|
Extensions(Extension[] extensions) |
Base Constructor
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equivalent(Extensions other) |
|
ASN1ObjectIdentifier[] |
getCriticalExtensionOIDs() |
|
Extension |
getExtension(ASN1ObjectIdentifier oid) |
return the extension represented by the object identifier
passed in.
|
ASN1ObjectIdentifier[] |
getExtensionOIDs() |
|
ASN1Encodable |
getExtensionParsedValue(ASN1ObjectIdentifier oid) |
return the parsed value of the extension represented by the object identifier
passed in.
|
static Extensions |
getInstance(java.lang.Object obj) |
|
static Extensions |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
|
ASN1ObjectIdentifier[] |
getNonCriticalExtensionOIDs() |
|
java.util.Enumeration |
oids() |
return an Enumeration of the extension field's object ids.
|
ASN1Primitive |
toASN1Primitive() |
Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension
Extension ::= SEQUENCE {
extnId EXTENSION.&id ({ExtensionSet}),
critical BOOLEAN DEFAULT FALSE,
extnValue OCTET STRING }
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public Extensions(Extension extension)
extension
- a single extension.public Extensions(Extension[] extensions)
extensions
- an array of extensions.public static Extensions getInstance(ASN1TaggedObject obj, boolean explicit)
public static Extensions getInstance(java.lang.Object obj)
public java.util.Enumeration oids()
public Extension getExtension(ASN1ObjectIdentifier oid)
public ASN1Encodable getExtensionParsedValue(ASN1ObjectIdentifier oid)
public ASN1Primitive toASN1Primitive()
Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension Extension ::= SEQUENCE { extnId EXTENSION.&id ({ExtensionSet}), critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
public boolean equivalent(Extensions other)
public ASN1ObjectIdentifier[] getExtensionOIDs()
public ASN1ObjectIdentifier[] getNonCriticalExtensionOIDs()
public ASN1ObjectIdentifier[] getCriticalExtensionOIDs()