Save This Page
Home » openjdk-7 » com.sun.crypto » provider » [javadoc | source]
com.sun.crypto.provider
final class: EncryptedPrivateKeyInfo [javadoc | source]
java.lang.Object
   com.sun.crypto.provider.EncryptedPrivateKeyInfo
This class implements the EncryptedPrivateKeyInfo type, which is defined in PKCS #8 as follows:
EncryptedPrivateKeyInfo ::=  SEQUENCE {
    encryptionAlgorithm   AlgorithmIdentifier,
    encryptedData   OCTET STRING }
Constructor:
 EncryptedPrivateKeyInfo(byte[] encoded) throws IOException 
    Constructs (i.e., parses) an EncryptedPrivateKeyInfo from its encoding.
 EncryptedPrivateKeyInfo(AlgorithmId algid,
    byte[] encryptedData) 
    Constructs an EncryptedPrivateKeyInfo from the encryption algorithm and the encrypted data.
Method from com.sun.crypto.provider.EncryptedPrivateKeyInfo Summary:
getAlgorithm,   getEncoded,   getEncryptedData
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.EncryptedPrivateKeyInfo Detail:
 AlgorithmId getAlgorithm() 
    Returns the encryption algorithm.
 byte[] getEncoded() throws IOException 
    Returns the ASN.1 encoding of this class.
 byte[] getEncryptedData() 
    Returns the encrypted data.