|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.bouncycastle.asn1.ASN1Encodable org.gudy.bouncycastle.asn1.x509.X509Extensions
public class X509Extensions
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable |
---|
BER, DER |
Constructor Summary | |
---|---|
X509Extensions(ASN1Sequence seq)
Constructor from ASN1Sequence. |
|
X509Extensions(java.util.Hashtable extensions)
constructor from a table of extensions. |
|
X509Extensions(java.util.Vector ordering,
java.util.Hashtable extensions)
Constructor from a table of extensions with ordering. |
|
X509Extensions(java.util.Vector objectIDs,
java.util.Vector values)
Constructor from two vectors |
Method Summary | |
---|---|
boolean |
equivalent(X509Extensions other)
|
X509Extension |
getExtension(DERObjectIdentifier oid)
return the extension represented by the object identifier passed in. |
static X509Extensions |
getInstance(ASN1TaggedObject obj,
boolean explicit)
|
static X509Extensions |
getInstance(java.lang.Object obj)
|
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.&id ({ExtensionSet}), critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING } |
Methods inherited from class org.gudy.bouncycastle.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 |
---|
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
public static final DERObjectIdentifier LogoType
public static final DERObjectIdentifier BiometricInfo
public static final DERObjectIdentifier QCStatements
public static final DERObjectIdentifier AuditIdentity
public static final DERObjectIdentifier NoRevAvail
public static final DERObjectIdentifier TargetInformation
Constructor Detail |
---|
public X509Extensions(ASN1Sequence seq)
public X509Extensions(java.util.Hashtable extensions)
it's is assumed the table contains OID/String pairs.
public X509Extensions(java.util.Vector ordering, java.util.Hashtable extensions)
It's is assumed the table contains OID/String pairs.
public X509Extensions(java.util.Vector objectIDs, java.util.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(java.lang.Object obj)
public java.util.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 boolean equivalent(X509Extensions other)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |