| java.lang.Object org.apache.harmony.security.pkcs8.PrivateKeyInfo
PrivateKeyInfo | public class PrivateKeyInfo (Code) | | The class implements the ASN.1 DER encoding and decoding of the PKCS#8
PrivateKeyInfo having the following ASN.1 notation:
PrivateKeyInfo ::= SEQUENCE {
version Version,
privateKeyAlgorithm PrivateKeyAlgorithmIdentifier,
privateKey PrivateKey,
attributes [0] IMPLICIT Attributes OPTIONAL }
Version ::= INTEGER
PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier
PrivateKey ::= OCTET STRING
Attributes ::= SET OF Attribute
|
getAttributes | public List getAttributes()(Code) | | Returns List of attributes. |
getEncoded | public byte[] getEncoded()(Code) | | Returns ASN.1 encoded form of this PrivateKeyInfo.
a byte array containing ASN.1 encode form. |
getPrivateKey | public byte[] getPrivateKey()(Code) | | Returns the OCTET STRING. |
getVersion | public int getVersion()(Code) | | Returns version. |
|
|