Bouncy Castle Cryptography Library 1.87

org.bouncycastle.crypto.params
Interface PQCParameters

All Known Implementing Classes:
FalconParameters, HQCParameters, MLDSAParameters, MLKEMParameters, SLHDSAParameters

public interface PQCParameters

Implemented by the parameter set classes of the post-quantum algorithms to report where a parameter set sits in the NIST post-quantum security categories (NIST IR 8547, Table 1) and the classical security strength NIST assigns to it (NIST IR 8547, Tables 3 and 5), so that a policy such as "category 3 or better" can be applied without a per-algorithm table.

The classical security strength is the value the constraints framework reports as CryptoServiceProperties.bitsOfSecurity() for the algorithm.


Method Summary
 int getClassicalSecurityStrength()
          Return the classical security strength, in bits, NIST assigns to this parameter set.
 int getSecurityCategory()
          Return the NIST post-quantum security category (1 to 5) of this parameter set.
 

Method Detail

getSecurityCategory

public int getSecurityCategory()
Return the NIST post-quantum security category (1 to 5) of this parameter set.

Returns:
the security category, as given in NIST IR 8547 Tables 3 and 5.

getClassicalSecurityStrength

public int getClassicalSecurityStrength()
Return the classical security strength, in bits, NIST assigns to this parameter set.

Returns:
the classical security strength in bits.

Bouncy Castle Cryptography Library 1.87