Class FfcDomain
- Namespace
- Kdf108
- Assembly
- Kdf108.dll
Validated finite-field domain parameters: a named safe-prime group or FIPS 186-type parameters.
public sealed class FfcDomain
- Inheritance
-
FfcDomain
- Inherited Members
Properties
Assurance
How validity was established for FIPS 186-type parameters.
public FfcDomainAssurance? Assurance { get; }
Property Value
Group
The named group, or null for FIPS 186-type parameters.
public FfcSafePrimeGroup? Group { get; }
Property Value
ModulusBits
The bit length of p, which is also the bit length of Z.
public int ModulusBits { get; }
Property Value
Methods
ImportFips186(ReadOnlySpan<byte>, ReadOnlySpan<byte>, ReadOnlySpan<byte>, FfcDomainAssurance)
Imports and validates FIPS 186-type parameters from the FB (2048/224) or FC (2048/256) size set.
public static FfcDomain ImportFips186(ReadOnlySpan<byte> p, ReadOnlySpan<byte> q, ReadOnlySpan<byte> g, FfcDomainAssurance assurance)
Parameters
pReadOnlySpan<byte>qReadOnlySpan<byte>gReadOnlySpan<byte>assuranceFfcDomainAssurance
Returns
Named(FfcSafePrimeGroup)
A named safe-prime group (q = (p - 1) / 2).
public static FfcDomain Named(FfcSafePrimeGroup group)
Parameters
groupFfcSafePrimeGroup