Class Pkcs8EncryptedPrivateKeyInfoBuilder
- Namespace
- Org.BouncyCastle.Pkcs
- Assembly
- BouncyCastle.Cryptography.dll
public class Pkcs8EncryptedPrivateKeyInfoBuilder
- Inheritance
-
Pkcs8EncryptedPrivateKeyInfoBuilder
- Inherited Members
Constructors
Pkcs8EncryptedPrivateKeyInfoBuilder(PrivateKeyInfo)
public Pkcs8EncryptedPrivateKeyInfoBuilder(PrivateKeyInfo privateKeyInfo)
Parameters
privateKeyInfoPrivateKeyInfo
Pkcs8EncryptedPrivateKeyInfoBuilder(byte[])
public Pkcs8EncryptedPrivateKeyInfoBuilder(byte[] privateKeyInfo)
Parameters
privateKeyInfobyte[]
Methods
Build(ICipherBuilder)
Create the encrypted private key info using the passed in encryptor.
public Pkcs8EncryptedPrivateKeyInfo Build(ICipherBuilder encryptor)
Parameters
encryptorICipherBuilderThe encryptor to use.
Returns
- Pkcs8EncryptedPrivateKeyInfo
An encrypted private key info containing the original private key info.