Class NTRULPRimeKEMGenerator
java.lang.Object
org.bouncycastle.pqc.crypto.ntruprime.NTRULPRimeKEMGenerator
- All Implemented Interfaces:
EncapsulatedSecretGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateEncapsulated
(AsymmetricKeyParameter recipientKey) Generate secret/encapsulation based on the recipient public key.
-
Constructor Details
-
NTRULPRimeKEMGenerator
-
-
Method Details
-
generateEncapsulated
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.
-