Class CMCEKEMGenerator
java.lang.Object
org.bouncycastle.pqc.crypto.cmce.CMCEKEMGenerator
- All Implemented Interfaces:
EncapsulatedSecretGenerator
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 -
Method Summary
Modifier and TypeMethodDescriptiongenerateEncapsulated(AsymmetricKeyParameter recipientKey) Deprecated.Generate secret/encapsulation based on the recipient public key.generateEncapsulated(AsymmetricKeyParameter recipientKey, int sessionKeySizeInBits) Deprecated.
-
Constructor Details
-
CMCEKEMGenerator
Deprecated.
-
-
Method Details
-
generateEncapsulated
Deprecated.Description copied from interface:EncapsulatedSecretGeneratorGenerate secret/encapsulation based on the recipient public key.- Specified by:
generateEncapsulatedin interfaceEncapsulatedSecretGenerator- Returns:
- An SecretWithEncapsulation derived from the recipient public key.
-
generateEncapsulated
public SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey, int sessionKeySizeInBits) Deprecated.
-