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
passwordchar[]keyDerivationAlgorithmAlgorithmIdentifier
Pkcs5Scheme2PbeKey(char[], byte[], int)
public Pkcs5Scheme2PbeKey(char[] password, byte[] salt, int iterationCount)
Parameters
Pkcs5Scheme2PbeKey(ReadOnlySpan<char>, AlgorithmIdentifier)
public Pkcs5Scheme2PbeKey(ReadOnlySpan<char> password, AlgorithmIdentifier keyDerivationAlgorithm)
Parameters
passwordReadOnlySpan<char>keyDerivationAlgorithmAlgorithmIdentifier
Pkcs5Scheme2PbeKey(ReadOnlySpan<char>, ReadOnlySpan<byte>, int)
public Pkcs5Scheme2PbeKey(ReadOnlySpan<char> password, ReadOnlySpan<byte> salt, int iterationCount)
Parameters
passwordReadOnlySpan<char>saltReadOnlySpan<byte>iterationCountint