public class PKCS8EncryptedPrivateKeyInfoBuilder
extends java.lang.Object
EncryptedPrivateKeyInfo ::= SEQUENCE { encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}}, encryptedData EncryptedData } EncryptedData ::= OCTET STRING KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= { ... -- For local profiles }
Constructor and Description |
---|
PKCS8EncryptedPrivateKeyInfoBuilder(byte[] privateKeyInfo) |
PKCS8EncryptedPrivateKeyInfoBuilder(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo) |
Modifier and Type | Method and Description |
---|---|
PKCS8EncryptedPrivateKeyInfo |
build(OutputEncryptor encryptor) |
public PKCS8EncryptedPrivateKeyInfoBuilder(byte[] privateKeyInfo)
public PKCS8EncryptedPrivateKeyInfoBuilder(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo)
public PKCS8EncryptedPrivateKeyInfo build(OutputEncryptor encryptor)