|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkz.gamma.asn1.ASN1Encodable
kz.gamma.asn1.x509.Extensions
public class Extensions
| Field Summary | |
|---|---|
private java.util.Hashtable |
extensions
|
private java.util.Vector |
ordering
|
| Fields inherited from class kz.gamma.asn1.ASN1Encodable |
|---|
BER, DER |
| Constructor Summary | |
|---|---|
private |
Extensions(ASN1Sequence seq)
Constructor from ASN1Sequence. |
|
Extensions(Extension extension)
Base Constructor |
|
Extensions(Extension[] extensions)
Base Constructor |
| Method Summary | |
|---|---|
boolean |
equivalent(Extensions other)
|
DERObjectIdentifier[] |
getCriticalExtensionOIDs()
|
Extension |
getExtension(DERObjectIdentifier oid)
return the extension represented by the object identifier passed in. |
DERObjectIdentifier[] |
getExtensionOIDs()
|
private DERObjectIdentifier[] |
getExtensionOIDs(boolean isCritical)
|
ASN1Encodable |
getExtensionParsedValue(DERObjectIdentifier 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)
|
DERObjectIdentifier[] |
getNonCriticalExtensionOIDs()
|
java.util.Enumeration |
oids()
return an Enumeration of the extension field's object ids. |
DERObject |
toASN1Object()
Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension Extension ::= SEQUENCE { extnId EXTENSION. |
private DERObjectIdentifier[] |
toOidArray(java.util.Vector oidVec)
|
| Methods inherited from class kz.gamma.asn1.ASN1Encodable |
|---|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.Hashtable extensions
private java.util.Vector ordering
| Constructor Detail |
|---|
private Extensions(ASN1Sequence seq)
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(DERObjectIdentifier oid)
public ASN1Encodable getExtensionParsedValue(DERObjectIdentifier oid)
public DERObject toASN1Object()
Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension
Extension ::= SEQUENCE {
extnId EXTENSION.&id ({ExtensionSet}),
critical BOOLEAN DEFAULT FALSE,
extnValue OCTET STRING }
toASN1Object in class ASN1Encodablepublic boolean equivalent(Extensions other)
public DERObjectIdentifier[] getExtensionOIDs()
public DERObjectIdentifier[] getNonCriticalExtensionOIDs()
public DERObjectIdentifier[] getCriticalExtensionOIDs()
private DERObjectIdentifier[] getExtensionOIDs(boolean isCritical)
private DERObjectIdentifier[] toOidArray(java.util.Vector oidVec)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||