Top Methods
org.bouncycastle.crypto

public Interface EncapsulatedSecretGenerator

Known Direct Implementers
org.bouncycastle.crypto.kems.ECIESKEMGenerator, org.bouncycastle.crypto.kems.RSAKEMGenerator, org.bouncycastle.pqc.crypto.bike.BIKEKEMGenerator, org.bouncycastle.pqc.crypto.cmce.CMCEKEMGenerator, org.bouncycastle.pqc.crypto.crystals.kyber.KyberKEMGenerator, org.bouncycastle.pqc.crypto.frodo.FrodoKEMGenerator, org.bouncycastle.pqc.crypto.hqc.HQCKEMGenerator, org.bouncycastle.pqc.crypto.ntru.NTRUKEMGenerator, org.bouncycastle.pqc.crypto.ntruprime.NTRULPRimeKEMGenerator, org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeKEMGenerator, org.bouncycastle.pqc.crypto.saber.SABERKEMGenerator
Imports
org.bouncycastle.crypto.params.AsymmetricKeyParameter

Method Summary

Modifier and TypeMethod and Description
public SecretWithEncapsulation

Returns:

An SecretWithEncapsulation derived from the recipient public key.
generateEncapsulated
(AsymmetricKeyParameter recipientKey)

Generate secret/encapsulation based on the recipient public key.

Method Detail

generateEncapsulatedback to summary
public SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey)

Generate secret/encapsulation based on the recipient public key.

Returns:SecretWithEncapsulation

An SecretWithEncapsulation derived from the recipient public key.