|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.Extensions
public class Extensions
| Constructor Summary | |
|---|---|
Extensions(Extension extension)
Base Constructor |
|
Extensions(Extension[] extensions)
Base Constructor |
|
| Method Summary | |
|---|---|
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(ASN1TaggedObject obj,
boolean explicit)
|
static Extensions |
getInstance(java.lang.Object obj)
|
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 } |
| Methods inherited from class org.bouncycastle.asn1.ASN1Object |
|---|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Extensions(Extension extension)
extension - a single extension.public Extensions(Extension[] extensions)
extensions - an array of extensions.| Method Detail |
|---|
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 ASN1EncodabletoASN1Primitive in class ASN1Objectpublic boolean equivalent(Extensions other)
public ASN1ObjectIdentifier[] getExtensionOIDs()
public ASN1ObjectIdentifier[] getNonCriticalExtensionOIDs()
public ASN1ObjectIdentifier[] getCriticalExtensionOIDs()
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||