Class KdfCounterParameters
- Namespace
- Org.BouncyCastle.Crypto.Parameters
- Assembly
- BouncyCastle.Cryptography.dll
public class KdfCounterParameters : IDerivationParameters
- Inheritance
-
KdfCounterParameters
- Implements
- Inherited Members
Constructors
KdfCounterParameters(byte[], byte[], byte[], int)
Base constructor - prefix and suffix fixed input data.
public KdfCounterParameters(byte[] ki, byte[] fixedInputDataCounterPrefix, byte[] fixedInputDataCounterSuffix, int r)
Parameters
kibyte[]the KDF seed
fixedInputDataCounterPrefixbyte[]fixed input data to precede counter
fixedInputDataCounterSuffixbyte[]fixed input data to follow counter.
rintlength of the counter in bits.
KdfCounterParameters(byte[], byte[], int)
Base constructor - suffix fixed input data only.
public KdfCounterParameters(byte[] ki, byte[] fixedInputDataCounterSuffix, int r)
Parameters
kibyte[]the KDF seed
fixedInputDataCounterSuffixbyte[]fixed input data to follow counter.
rintlength of the counter in bits
Properties
FixedInputData
public byte[] FixedInputData { get; }
Property Value
- byte[]
FixedInputDataCounterPrefix
public byte[] FixedInputDataCounterPrefix { get; }
Property Value
- byte[]
FixedInputDataCounterSuffix
public byte[] FixedInputDataCounterSuffix { get; }
Property Value
- byte[]
Ki
public byte[] Ki { get; }
Property Value
- byte[]
R
public int R { get; }