Package org.bouncycastle.pqc.crypto.hqc
Class HQCKEMGenerator
- java.lang.Object
-
- org.bouncycastle.pqc.crypto.hqc.HQCKEMGenerator
-
- All Implemented Interfaces:
EncapsulatedSecretGenerator
public class HQCKEMGenerator extends java.lang.Object implements EncapsulatedSecretGenerator
-
-
Constructor Summary
Constructors Constructor Description HQCKEMGenerator(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.
-
-