public class OldAuthorityKeyIdentifier extends AuthorityKeyIdentifier
OldAuthorityKeyIdentifier Extension.
The OldAuthorityKeyIdentifier extension is obsolete, and has been replaced
by the AuthorityKeyIdentifier extension. It is provided here for backward
compatibility with older certificates only.
The OldAuthorityKeyIdentifier OID is "2.5.29.1".
The ASN.1 definition of the OldAuthorityKeyIdentifier extension is identical
to the definition of the AuthorityKeyIdentifier. Please refer to the
AuthorityKeyIdentifier extension for details on this structure and its use.
This class provides several methods for setting and getting the component values of an
OldAuthorityKeyIdentifier extension object, primarily via the base class
(OldAuthorityKeyIdentifier extends AuthorityKeyIdentifier).
V3Extension,
X509Certificate,
AuthorityKeyIdentifier| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
oid |
critical| Constructor and Description |
|---|
OldAuthorityKeyIdentifier()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectID |
getObjectID()
Returns the object ID of this
OldAuthorityKeyIdentifier extension |
int |
hashCode()
Returns a hashcode for this identity.
|
void |
init(ASN1Object obj)
Inits this
OldAuthorityKeyIdentifier implementation with an ASN1Object
representing the value of this extension. |
java.lang.String |
toString()
Returns a string that represents the contents of this
OldAuthorityKeyIdentifier extension. |
getAuthorityCertIssuer, getAuthorityCertSerialNumber, getKeyIdentifier, setAuthorityCertIssuer, setAuthorityCertSerialNumber, setKeyIdentifier, toASN1ObjectgetName, isCritical, setCriticalpublic static final ObjectID oid
public OldAuthorityKeyIdentifier()
The OldAuthorityKeyIdentifier extension is obsolete and has been replaced
by the AuthorityKeyIdentifier extension in the current X.509 specification.
Generating a new OldAuthorityKeyIdentifier extension is not supported.
This class is provided for backward compatibility with existing certificates only.
public ObjectID getObjectID()
OldAuthorityKeyIdentifier extensiongetObjectID in class AuthorityKeyIdentifierpublic void init(ASN1Object obj) throws X509ExtensionException
OldAuthorityKeyIdentifier implementation with an ASN1Object
representing the value of this extension.
The ASN1Object is the extensionValue from ASN.1 type "Extension" representing the field values
of this extension. Please refer to the AuthorityKeyIdentifier extension for details.
init in class AuthorityKeyIdentifierobj - the extensionValue as an ASN1ObjectX509ExtensionException - if the extension could not be parsedpublic int hashCode()
hashCode in class AuthorityKeyIdentifierpublic java.lang.String toString()
OldAuthorityKeyIdentifier extension.toString in class AuthorityKeyIdentifier