Table of Contents

Class CmsPbeKey

Namespace
Enterprises.Org.BouncyCastle.Cms
Assembly
Enterprises.BouncyCastle.Crypto.dll
public abstract class CmsPbeKey : ICipherParameters
Inheritance
CmsPbeKey
Implements
Derived
Inherited Members

Constructors

CmsPbeKey(char[], AlgorithmIdentifier)

public CmsPbeKey(char[] password, AlgorithmIdentifier keyDerivationAlgorithm)

Parameters

password char[]
keyDerivationAlgorithm AlgorithmIdentifier

CmsPbeKey(char[], byte[], int)

public CmsPbeKey(char[] password, byte[] salt, int iterationCount)

Parameters

password char[]
salt byte[]
iterationCount int

CmsPbeKey(string, AlgorithmIdentifier)

[Obsolete("Use version taking 'char[]' instead")]
public CmsPbeKey(string password, AlgorithmIdentifier keyDerivationAlgorithm)

Parameters

password string
keyDerivationAlgorithm AlgorithmIdentifier

CmsPbeKey(string, byte[], int)

[Obsolete("Use version taking 'char[]' instead")]
public CmsPbeKey(string password, byte[] salt, int iterationCount)

Parameters

password string
salt byte[]
iterationCount int

Properties

Algorithm

public string Algorithm { get; }

Property Value

string

Format

public string Format { get; }

Property Value

string

IterationCount

public int IterationCount { get; }

Property Value

int

Password

[Obsolete("Will be removed")]
public string Password { get; }

Property Value

string

Salt

public byte[] Salt { get; }

Property Value

byte[]

Methods

~CmsPbeKey()

protected ~CmsPbeKey()

GetEncoded()

public byte[] GetEncoded()

Returns

byte[]

GetSalt()

[Obsolete("Use 'Salt' property instead")]
public byte[] GetSalt()

Returns

byte[]