Table of Contents

Class Pkcs5Scheme2PbeKey

Namespace
Org.BouncyCastle.Cms
Assembly
BouncyCastle.Cryptography.dll

PKCS5 scheme-2 - password converted to bytes assuming ASCII.

public class Pkcs5Scheme2PbeKey : CmsPbeKey, ICipherParameters
Inheritance
Pkcs5Scheme2PbeKey
Implements
Inherited Members

Constructors

Pkcs5Scheme2PbeKey(char[], AlgorithmIdentifier)

public Pkcs5Scheme2PbeKey(char[] password, AlgorithmIdentifier keyDerivationAlgorithm)

Parameters

password char[]
keyDerivationAlgorithm AlgorithmIdentifier

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

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

Parameters

password char[]
salt byte[]
iterationCount int

Pkcs5Scheme2PbeKey(ReadOnlySpan<char>, AlgorithmIdentifier)

public Pkcs5Scheme2PbeKey(ReadOnlySpan<char> password, AlgorithmIdentifier keyDerivationAlgorithm)

Parameters

password ReadOnlySpan<char>
keyDerivationAlgorithm AlgorithmIdentifier

Pkcs5Scheme2PbeKey(ReadOnlySpan<char>, ReadOnlySpan<byte>, int)

public Pkcs5Scheme2PbeKey(ReadOnlySpan<char> password, ReadOnlySpan<byte> salt, int iterationCount)

Parameters

password ReadOnlySpan<char>
salt ReadOnlySpan<byte>
iterationCount int