Class SNTRUPrimeKEMGenerator
- java.lang.Object
-
- org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeKEMGenerator
-
- All Implemented Interfaces:
EncapsulatedSecretGenerator
public class SNTRUPrimeKEMGenerator extends java.lang.Object implements EncapsulatedSecretGenerator
-
-
Constructor Summary
Constructors Constructor Description SNTRUPrimeKEMGenerator(java.security.SecureRandom random)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretWithEncapsulation
generateEncapsulated(AsymmetricKeyParameter recipientKey)
Generate secret/encapsulation based on the recipient public key.
-
-
-
Method Detail
-
generateEncapsulated
public SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey)
Description copied from interface:EncapsulatedSecretGenerator
Generate secret/encapsulation based on the recipient public key.- Specified by:
generateEncapsulated
in interfaceEncapsulatedSecretGenerator
- Returns:
- An SecretWithEncapsulation derived from the recipient public key.
-
-