Save This Page
Home » openjdk-7 » com.sun.crypto » provider » [javadoc | source]
com.sun.crypto.provider
final class: PrivateKeyInfo [javadoc | source]
java.lang.Object
   com.sun.crypto.provider.PrivateKeyInfo
This class implements the PrivateKeyInfo type, which is defined in PKCS #8 as follows:
PrivateKeyInfo ::=  SEQUENCE {
    version   INTEGER,
    privateKeyAlgorithm   AlgorithmIdentifier,
    privateKey   OCTET STRING,
    attributes   [0] IMPLICIT Attributes OPTIONAL }
Constructor:
 PrivateKeyInfo(byte[] encoded) throws IOException 
    Constructs a PKCS#8 PrivateKeyInfo from its ASN.1 encoding.
Method from com.sun.crypto.provider.PrivateKeyInfo Summary:
getAlgorithm
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.PrivateKeyInfo Detail:
 AlgorithmId getAlgorithm() 
    Returns the private-key algorithm.