Package org.bouncycastle.pqc.crypto.cmce
Class CMCEKeyPairGenerator
- java.lang.Object
-
- org.bouncycastle.pqc.crypto.cmce.CMCEKeyPairGenerator
-
- All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator
@Deprecated public class CMCEKeyPairGenerator extends java.lang.Object implements AsymmetricCipherKeyPairGenerator
Deprecated.the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.
-
-
Constructor Summary
Constructors Constructor Description CMCEKeyPairGenerator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AsymmetricCipherKeyPairgenerateKeyPair()Deprecated.return an AsymmetricCipherKeyPair containing the generated keys.voidinit(KeyGenerationParameters param)Deprecated.intialise the key pair generator.
-
-
-
Method Detail
-
init
public void init(KeyGenerationParameters param)
Deprecated.Description copied from interface:AsymmetricCipherKeyPairGeneratorintialise the key pair generator.- Specified by:
initin interfaceAsymmetricCipherKeyPairGenerator- Parameters:
param- the parameters the key pair is to be initialised with.
-
generateKeyPair
public AsymmetricCipherKeyPair generateKeyPair()
Deprecated.Description copied from interface:AsymmetricCipherKeyPairGeneratorreturn an AsymmetricCipherKeyPair containing the generated keys.- Specified by:
generateKeyPairin interfaceAsymmetricCipherKeyPairGenerator- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-
-