Top Description Fields Constructors Methods
org.bouncycastle.pkcs

public Class PKCS8EncryptedPrivateKeyInfo

extends Object
Class Inheritance
Imports
java.io.ByteArrayInputStream, .IOException, org.bouncycastle.asn1.ASN1Primitive, org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo, .PrivateKeyInfo, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.operator.InputDecryptor, .InputDecryptorProvider, org.bouncycastle.util.io.Streams

Holding class for a PKCS#8 EncryptedPrivateKeyInfo structure.

Field Summary

Modifier and TypeField and Description
private EncryptedPrivateKeyInfo

Constructor Summary

AccessConstructor and Description
public
public
PKCS8EncryptedPrivateKeyInfo(byte[] encryptedPrivateKeyInfo)

Method Summary

Modifier and TypeMethod and Description
public PrivateKeyInfo
public byte[]
public byte[]
public AlgorithmIdentifier
private static EncryptedPrivateKeyInfo
parseBytes(byte[] pkcs8Encoding)

public EncryptedPrivateKeyInfo
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

encryptedPrivateKeyInfoback to summary
private EncryptedPrivateKeyInfo encryptedPrivateKeyInfo

Constructor Detail

PKCS8EncryptedPrivateKeyInfoback to summary
public PKCS8EncryptedPrivateKeyInfo(EncryptedPrivateKeyInfo encryptedPrivateKeyInfo)
PKCS8EncryptedPrivateKeyInfoback to summary
public PKCS8EncryptedPrivateKeyInfo(byte[] encryptedPrivateKeyInfo) throws IOException

Method Detail

decryptPrivateKeyInfoback to summary
public PrivateKeyInfo decryptPrivateKeyInfo(InputDecryptorProvider inputDecryptorProvider) throws PKCSException
getEncodedback to summary
public byte[] getEncoded() throws IOException
getEncryptedDataback to summary
public byte[] getEncryptedData()
getEncryptionAlgorithmback to summary
public AlgorithmIdentifier getEncryptionAlgorithm()
parseBytesback to summary
private static EncryptedPrivateKeyInfo parseBytes(byte[] pkcs8Encoding) throws IOException
toASN1Structureback to summary
public EncryptedPrivateKeyInfo toASN1Structure()