Table of Contents

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

random SecureRandom

Methods

GenerateEncapsulated(AsymmetricKeyParameter)

Generate an exchange pair based on the recipient public key.

public ISecretWithEncapsulation GenerateEncapsulated(AsymmetricKeyParameter recipientKey)

Parameters

recipientKey AsymmetricKeyParameter

Returns

ISecretWithEncapsulation

An SecretWithEncapsulation derived from the recipient public key.