|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.util.asn1.ASN1Encodable org.apache.geronimo.util.asn1.x509.X509Extensions
public class X509Extensions
Constructor Summary | |
---|---|
X509Extensions(ASN1Sequence seq)
Constructor from ASN1Sequence. |
|
X509Extensions(Hashtable extensions)
constructor from a table of extensions. |
|
X509Extensions(Vector ordering,
Hashtable extensions)
Constructor from a table of extensions with ordering. |
|
X509Extensions(Vector objectIDs,
Vector values)
Constructor from two vectors |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
X509Extension |
getExtension(DERObjectIdentifier oid)
return the extension represented by the object identifier passed in. |
static X509Extensions |
getInstance(ASN1TaggedObject obj,
boolean explicit)
|
static X509Extensions |
getInstance(Object obj)
|
int |
hashCode()
|
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. |
Methods inherited from class org.apache.geronimo.util.asn1.ASN1Encodable |
---|
getDERObject, getEncoded |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DERObjectIdentifier SubjectDirectoryAttributes
public static final DERObjectIdentifier SubjectKeyIdentifier
public static final DERObjectIdentifier KeyUsage
public static final DERObjectIdentifier PrivateKeyUsagePeriod
public static final DERObjectIdentifier SubjectAlternativeName
public static final DERObjectIdentifier IssuerAlternativeName
public static final DERObjectIdentifier BasicConstraints
public static final DERObjectIdentifier CRLNumber
public static final DERObjectIdentifier ReasonCode
public static final DERObjectIdentifier InstructionCode
public static final DERObjectIdentifier InvalidityDate
public static final DERObjectIdentifier DeltaCRLIndicator
public static final DERObjectIdentifier IssuingDistributionPoint
public static final DERObjectIdentifier CertificateIssuer
public static final DERObjectIdentifier NameConstraints
public static final DERObjectIdentifier CRLDistributionPoints
public static final DERObjectIdentifier CertificatePolicies
public static final DERObjectIdentifier PolicyMappings
public static final DERObjectIdentifier AuthorityKeyIdentifier
public static final DERObjectIdentifier PolicyConstraints
public static final DERObjectIdentifier ExtendedKeyUsage
public static final DERObjectIdentifier FreshestCRL
public static final DERObjectIdentifier InhibitAnyPolicy
public static final DERObjectIdentifier AuthorityInfoAccess
public static final DERObjectIdentifier SubjectInfoAccess
Constructor Detail |
---|
public X509Extensions(ASN1Sequence seq)
public X509Extensions(Hashtable extensions)
it's is assumed the table contains OID/String pairs.
public X509Extensions(Vector ordering, Hashtable extensions)
It's is assumed the table contains OID/String pairs.
public X509Extensions(Vector objectIDs, Vector values)
objectIDs
- a vector of the object identifiers.values
- a vector of the extension values.Method Detail |
---|
public static X509Extensions getInstance(ASN1TaggedObject obj, boolean explicit)
public static X509Extensions getInstance(Object obj)
public Enumeration oids()
public X509Extension getExtension(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 ASN1Encodable
public int hashCode()
hashCode
in class ASN1Encodable
public boolean equals(Object o)
equals
in class ASN1Encodable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |