| java.lang.Object sun.security.pkcs.EncryptedPrivateKeyInfo
EncryptedPrivateKeyInfo | public class EncryptedPrivateKeyInfo (Code) | | This class implements the EncryptedPrivateKeyInfo type,
which is defined in PKCS #8 as follows:
EncryptedPrivateKeyInfo ::= SEQUENCE {
encryptionAlgorithm AlgorithmIdentifier,
encryptedData OCTET STRING }
author: Jan Luehe version: 1.8, 00/02/02 |
Constructor Summary | |
public | EncryptedPrivateKeyInfo(byte[] encoded) Constructs (i.e., parses) an EncryptedPrivateKeyInfo from
its encoding. | public | EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData) Constructs an EncryptedPrivateKeyInfo from the
encryption algorithm and the encrypted data. |
EncryptedPrivateKeyInfo | public EncryptedPrivateKeyInfo(byte[] encoded) throws IOException(Code) | | Constructs (i.e., parses) an EncryptedPrivateKeyInfo from
its encoding.
|
EncryptedPrivateKeyInfo | public EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData)(Code) | | Constructs an EncryptedPrivateKeyInfo from the
encryption algorithm and the encrypted data.
|
getAlgorithm | public AlgorithmId getAlgorithm()(Code) | | Returns the encryption algorithm.
|
getEncoded | public byte[] getEncoded() throws IOException(Code) | | Returns the ASN.1 encoding of this class.
|
getEncryptedData | public byte[] getEncryptedData()(Code) | | Returns the encrypted data.
|
hashCode | public int hashCode()(Code) | | Returns a hashcode for this EncryptedPrivateKeyInfo.
a hashcode for this EncryptedPrivateKeyInfo. |
|
|