Class FfcDomainAssurance
- Namespace
- Kdf108
- Assembly
- Kdf108.dll
How assurance of FIPS 186-type domain-parameter validity was obtained (SP 800-56A Rev. 3 §5.5.2).
public sealed class FfcDomainAssurance
- Inheritance
-
FfcDomainAssurance
- Inherited Members
Properties
Authority
The trusted party that vouched for the parameters, or null when the generation evidence is replayed.
public string? Authority { get; }
Property Value
Counter
The FIPS 186-4 A.1.1.2 counter (evidence only).
public int Counter { get; }
Property Value
Hash
The FIPS 186-4 generation hash (evidence only).
public NistHashAlgorithm Hash { get; }
Property Value
Methods
Fips186Evidence(ReadOnlySpan<byte>, int, NistHashAlgorithm)
Validate the parameters by replaying FIPS 186-4 Appendix A.1.1.3 probable-prime generation from its seed, counter, and hash, and by testing p and q for primality.
public static FfcDomainAssurance Fips186Evidence(ReadOnlySpan<byte> seed, int counter, NistHashAlgorithm hash)
Parameters
seedReadOnlySpan<byte>counterinthashNistHashAlgorithm
Returns
TrustedAuthority(string)
Assurance obtained from a trusted party (SP 800-56A §5.5.2). Only the structural checks run: sizes, q | p - 1, and g of order q. Primality is taken from the trusted party.
public static FfcDomainAssurance TrustedAuthority(string authority)
Parameters
authoritystring