Class CMCEParameters

  • All Implemented Interfaces:
    CipherParameters, KEMParameters

    public class CMCEParameters
    extends java.lang.Object
    implements KEMParameters
    Parameter sets for the Classic McEliece KEM as standardised in ISO/IEC 18033-2:2006/Amd 2:2026, Clause 13.

    Four parameter sets are provided for each of the four standardised code sizes (460896, 6688128, 6960119 and 8192128): a base set, a semi-systematic key-generation variant ("f"), a plaintext-confirmation variant ("pc"), and a combined variant ("pcf"). All sixteen sets use GF(2^13) and produce a 256-bit (32-byte) session key. The non-standardised mceliece348864 size is not provided here; it remains available (deprecated) under org.bouncycastle.pqc.crypto.cmce.

    • Method Detail

      • getName

        public java.lang.String getName()
      • getM

        public int getM()
      • getN

        public int getN()
      • getT

        public int getT()
      • getPoly

        public int[] getPoly()
      • isUsePivots

        public boolean isUsePivots()
      • isPc

        public boolean isPc()
      • getSessionKeySize

        public int getSessionKeySize()
      • getEncapsulationLength

        public int getEncapsulationLength()