public class PKCS8EncryptedPrivateKeyInfoBuilder extends Object
EncryptedPrivateKeyInfo ::= SEQUENCE { encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}}, encryptedData EncryptedData } EncryptedData ::= OCTET STRING KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= { ... -- For local profiles }
Constructor and Description |
---|
PKCS8EncryptedPrivateKeyInfoBuilder(byte[] privateKeyInfo) |
PKCS8EncryptedPrivateKeyInfoBuilder(PrivateKeyInfo privateKeyInfo) |
Modifier and Type | Method and Description |
---|---|
PKCS8EncryptedPrivateKeyInfo |
build(OutputEncryptor encryptor) |
public PKCS8EncryptedPrivateKeyInfoBuilder(byte[] privateKeyInfo)
public PKCS8EncryptedPrivateKeyInfoBuilder(PrivateKeyInfo privateKeyInfo)
public PKCS8EncryptedPrivateKeyInfo build(OutputEncryptor encryptor)
Copyright © 2020 BouncyCastle.org. All rights reserved.