Class HqcKemGenerator
- Namespace
- Org.BouncyCastle.Pqc.Crypto.Hqc
- Assembly
- BouncyCastle.Cryptography.dll
public class HqcKemGenerator : IEncapsulatedSecretGenerator
- Inheritance
-
HqcKemGenerator
- Implements
- Inherited Members
Constructors
HqcKemGenerator(SecureRandom)
public HqcKemGenerator(SecureRandom random)
Parameters
randomSecureRandom
Methods
GenerateEncapsulated(AsymmetricKeyParameter)
Generate an exchange pair based on the recipient public key.
public ISecretWithEncapsulation GenerateEncapsulated(AsymmetricKeyParameter recipientKey)
Parameters
recipientKeyAsymmetricKeyParameter
Returns
- ISecretWithEncapsulation
An SecretWithEncapsulation derived from the recipient public key.