Table of Contents

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

privateKeyInfo PrivateKeyInfo

Pkcs8EncryptedPrivateKeyInfoBuilder(byte[])

public Pkcs8EncryptedPrivateKeyInfoBuilder(byte[] privateKeyInfo)

Parameters

privateKeyInfo byte[]

Methods

Build(ICipherBuilder)

Create the encrypted private key info using the passed in encryptor.

public Pkcs8EncryptedPrivateKeyInfo Build(ICipherBuilder encryptor)

Parameters

encryptor ICipherBuilder

The encryptor to use.

Returns

Pkcs8EncryptedPrivateKeyInfo

An encrypted private key info containing the original private key info.