Interface PQCParameters

All Known Implementing Classes:
FalconParameters, HQCParameters, LMOtsParameters, LMSigParameters, MLDSAParameters, MLKEMParameters, SLHDSAParameters, XMSSMTParameters, XMSSParameters

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

    Modifier and Type
    Method
    Description
    int
    Return the classical security strength, in bits, NIST assigns to this parameter set.
    int
    Return the NIST post-quantum security category (1 to 5) of this parameter set.
  • Method Details

    • getSecurityCategory

      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

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