| java.lang.Object sun.security.x509.Extension sun.security.x509.AuthorityKeyIdentifierExtension
AuthorityKeyIdentifierExtension | public class AuthorityKeyIdentifierExtension extends Extension implements CertAttrSet(Code) | | This class represents the Authority Key Identifier Extension.
The authority key identifier extension provides a means of
identifying the particular public key used to sign a certificate.
This extension would be used where an issuer has multiple signing
keys (either due to multiple concurrent key pairs or due to
changeover).
The ASN.1 syntax for this is:
AuthorityKeyIdentifier ::= SEQUENCE {
keyIdentifier [0] KeyIdentifier OPTIONAL,
authorityCertIssuer [1] GeneralNames OPTIONAL,
authorityCertSerialNumber [2] CertificateSerialNumber OPTIONAL
}
KeyIdentifier ::= OCTET STRING
author: Amit Kapoor author: Hemma Prafullchandra version: 1.15 See Also: Extension See Also: CertAttrSet |
IDENT | final public static String IDENT(Code) | | Identifier for this attribute, to be used with the
get, set, delete methods of Certificate, x509 type.
|
AuthorityKeyIdentifierExtension | public AuthorityKeyIdentifierExtension(KeyIdentifier kid, GeneralNames name, SerialNumber sn) throws IOException(Code) | | The default constructor for this extension. Null parameters make
the element optional (not present).
Parameters: id - the KeyIdentifier associated with this extension. Parameters: names - the GeneralNames associated with this extension Parameters: serialNum - the CertificateSerialNumber associated withthis extension. exception: IOException - on error. |
AuthorityKeyIdentifierExtension | public AuthorityKeyIdentifierExtension(Boolean critical, Object value) throws IOException(Code) | | Create the extension from the passed DER encoded value of the same.
Parameters: critical - true if the extension is to be treated as critical. Parameters: value - Array of DER encoded bytes of the actual value. exception: IOException - on error. |
decode | public void decode(InputStream in) throws IOException(Code) | | Decode the extension from the InputStream.
Parameters: in - the InputStream to unmarshal the contents from. exception: IOException - on decoding or validity errors. |
encode | public void encode(OutputStream out) throws IOException(Code) | | Write the extension to the OutputStream.
Parameters: out - the OutputStream to write the extension to. exception: IOException - on error. |
getElements | public Enumeration getElements()(Code) | | Return an enumeration of names of attributes existing within this
attribute.
|
getName | public String getName()(Code) | | Return the name of this attribute.
|
toString | public String toString()(Code) | | Return the object as a string.
|
|
|