|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.crypto.X509Extensions
public final class X509Extensions
Stores X509 extensions as described in RFC 3280.
http://www.faqs.org/rfcs/rfc3280.html
Field Summary | |
---|---|
private static java.util.Vector |
KNOWN_CERTIFICATE_EXTENSIONS
|
private static java.util.Vector |
KNOWN_CRL_ENTRY_EXTENSIONS
|
private static java.util.Vector |
KNOWN_CRL_EXTENSIONS
|
private org.bouncycastle.asn1.DERSet |
m_extensions
|
private java.util.Vector |
m_vecExtensions
|
private org.bouncycastle.asn1.DERObjectIdentifier |
X509_EXTENSIONS_IDENTIFIER
|
Constructor Summary | |
---|---|
X509Extensions(AbstractX509Extension a_extension)
Creates a new X509Extensions object from a single extension. |
|
X509Extensions(org.bouncycastle.asn1.DERSet a_extensions)
Creates an X509Extensions object from a DERTaggedObject. |
|
X509Extensions(java.util.Vector a_extensions)
Creates a new X509Extensions object that holds all extensions in the given Vector. |
|
X509Extensions(org.bouncycastle.asn1.x509.X509Extensions a_extensions)
Creates an X509Extensions object from a BouncyCastle X509Extensions object. |
Method Summary | |
---|---|
private static java.util.Vector |
createExtensionsFromX509Extensions(org.bouncycastle.asn1.x509.X509Extensions a_extensions)
|
(package private) org.bouncycastle.asn1.DERSet |
getBCExtensions()
Returns the object as BouncyCastle DERSet. |
(package private) org.bouncycastle.asn1.x509.X509Extensions |
getBCX509Extensions()
Returns the object a BouncyCastle X509Extensions object. |
AbstractX509Extension |
getExtension(int a_index)
Returns the extension at the given index. |
AbstractX509Extension |
getExtension(java.lang.String a_identifier)
Returns the extension with the specified identifier if it is contained in this X509Extensions object. |
java.util.Vector |
getExtensions()
Returns a Vector with all X509 extensions that are contained in this object as AbstractX509Extension objects. |
java.util.Vector |
getExtensions(java.lang.String a_identifier)
Returns the extensions with the specified identifier if they are contained in this X509Extensions object. |
int |
getSize()
Returns the number of extensions contained in this object. |
protected boolean |
hasUnknownCriticalExtensions()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private org.bouncycastle.asn1.DERObjectIdentifier X509_EXTENSIONS_IDENTIFIER
private static final java.util.Vector KNOWN_CERTIFICATE_EXTENSIONS
private static final java.util.Vector KNOWN_CRL_EXTENSIONS
private static final java.util.Vector KNOWN_CRL_ENTRY_EXTENSIONS
private org.bouncycastle.asn1.DERSet m_extensions
private java.util.Vector m_vecExtensions
Constructor Detail |
---|
public X509Extensions(AbstractX509Extension a_extension)
a_extension
- an AbstractX509Extensionpublic X509Extensions(java.util.Vector a_extensions)
a_extensions
- a Vector with extension of the type AbstractX509ExtensionX509Extensions(org.bouncycastle.asn1.DERSet a_extensions)
a_extensions
- a DERTaggedObject containing X509 extensionsX509Extensions(org.bouncycastle.asn1.x509.X509Extensions a_extensions)
a_extensions
- a BouncyCastle X509Extensions objectMethod Detail |
---|
public int getSize()
public AbstractX509Extension getExtension(int a_index)
a_index
- an index number
java.lang.ArrayIndexOutOfBoundsException
- if the index is negative or
not less than the current size of this X509Extensions objectpublic AbstractX509Extension getExtension(java.lang.String a_identifier)
a_identifier
- an X509 extension identifier
public java.util.Vector getExtensions(java.lang.String a_identifier)
a_identifier
- an X509 extension identifier
public java.util.Vector getExtensions()
org.bouncycastle.asn1.DERSet getBCExtensions()
org.bouncycastle.asn1.x509.X509Extensions getBCX509Extensions()
private static java.util.Vector createExtensionsFromX509Extensions(org.bouncycastle.asn1.x509.X509Extensions a_extensions)
protected boolean hasUnknownCriticalExtensions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |