Class MLKEMParameters

java.lang.Object
org.bouncycastle.crypto.params.MLKEMParameters
All Implemented Interfaces:
CipherParameters, KEMParameters, PQCParameters

public class MLKEMParameters extends Object implements KEMParameters, PQCParameters
  • Field Details

  • Method Details

    • getK

      public int getK()
    • getEncapsulationLength

      public int getEncapsulationLength()
    • getName

      public String getName()
    • getSecurityCategory

      public int getSecurityCategory()
      Return the NIST security category of this parameter set: 1 for ML-KEM-512, 3 for ML-KEM-768 and 5 for ML-KEM-1024 (NIST IR 8547, Table 5).
      Specified by:
      getSecurityCategory in interface PQCParameters
      Returns:
      the security category, as given in NIST IR 8547 Tables 3 and 5.
    • getClassicalSecurityStrength

      public int getClassicalSecurityStrength()
      Return the classical security strength of this parameter set: 128 bits for ML-KEM-512, 192 for ML-KEM-768 and 256 for ML-KEM-1024 (NIST IR 8547, Table 5).
      Specified by:
      getClassicalSecurityStrength in interface PQCParameters
      Returns:
      the classical security strength in bits.
    • getSessionKeySize

      public int getSessionKeySize()