Class CmceKeyGenSpec

java.lang.Object
zeroecho.core.alg.cmce.CmceKeyGenSpec
All Implemented Interfaces:
Describable, AlgorithmKeySpec

public final class CmceKeyGenSpec extends Object implements AlgorithmKeySpec, Describable

CMCE key generation specification

Encapsulates the choice of Classic McEliece parameter set (variant) to be used when generating new key pairs. Each variant corresponds to a standardized security level and key size trade-off as defined in the post-quantum KEM standardization process.

Usage example:


 // Generate a key pair for McEliece 8192128F (256-bit security, fast)
 CmceKeyGenSpec spec = CmceKeyGenSpec.mceliece8192128f();
 KeyPair kp = alg.asymmetricKeyBuilder(CmceKeyGenSpec.class).generateKeyPair(spec);
 
Since:
1.0