Class CmsPbeKey
- Namespace
- Org.BouncyCastle.Cms
- Assembly
- BouncyCastle.Cryptography.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(ReadOnlySpan<char>, AlgorithmIdentifier)
public CmsPbeKey(ReadOnlySpan<char> password, AlgorithmIdentifier keyDerivationAlgorithm)
Parameters
password ReadOnlySpan<char>
keyDerivationAlgorithm AlgorithmIdentifier
CmsPbeKey(ReadOnlySpan<char>, ReadOnlySpan<byte>, int)
public CmsPbeKey(ReadOnlySpan<char> password, ReadOnlySpan<byte> salt, int iterationCount)
Parameters
password ReadOnlySpan<char>
salt ReadOnlySpan<byte>
iterationCount int
Properties
Algorithm
public string Algorithm { get; }
Property Value
- string
public string Format { get; }
Property Value
- string
IterationCount
public int IterationCount { get; }
Property Value
- int
Salt
public byte[] Salt { get; }
Property Value
- byte[]
Methods
~CmsPbeKey()
GetEncoded()
public byte[] GetEncoded()
Returns
- byte[]