Table of Contents

Class EncryptedPrivateKeyInfoFactory

Namespace
Enterprises.Org.BouncyCastle.Pkcs
Assembly
Enterprises.BouncyCastle.Crypto.dll
public sealed class EncryptedPrivateKeyInfoFactory
Inheritance
EncryptedPrivateKeyInfoFactory
Inherited Members

Methods

CreateEncryptedPrivateKeyInfo(DerObjectIdentifier, char[], byte[], int, AsymmetricKeyParameter)

public static EncryptedPrivateKeyInfo CreateEncryptedPrivateKeyInfo(DerObjectIdentifier algorithm, char[] passPhrase, byte[] salt, int iterationCount, AsymmetricKeyParameter key)

Parameters

algorithm DerObjectIdentifier
passPhrase char[]
salt byte[]
iterationCount int
key AsymmetricKeyParameter

Returns

EncryptedPrivateKeyInfo

CreateEncryptedPrivateKeyInfo(string, char[], byte[], int, PrivateKeyInfo)

public static EncryptedPrivateKeyInfo CreateEncryptedPrivateKeyInfo(string algorithm, char[] passPhrase, byte[] salt, int iterationCount, PrivateKeyInfo keyInfo)

Parameters

algorithm string
passPhrase char[]
salt byte[]
iterationCount int
keyInfo PrivateKeyInfo

Returns

EncryptedPrivateKeyInfo

CreateEncryptedPrivateKeyInfo(string, char[], byte[], int, AsymmetricKeyParameter)

public static EncryptedPrivateKeyInfo CreateEncryptedPrivateKeyInfo(string algorithm, char[] passPhrase, byte[] salt, int iterationCount, AsymmetricKeyParameter key)

Parameters

algorithm string
passPhrase char[]
salt byte[]
iterationCount int
key AsymmetricKeyParameter

Returns

EncryptedPrivateKeyInfo