Bouncy Castle Cryptography Library 1.79

org.bouncycastle.crypto
Interface EncapsulatedSecretGenerator

All Known Implementing Classes:
RSAKEMGenerator, ECIESKEMGenerator, BIKEKEMGenerator, CMCEKEMGenerator, FrodoKEMGenerator, HQCKEMGenerator, MLKEMGenerator, NTRUKEMGenerator, NTRULPRimeKEMGenerator, SNTRUPrimeKEMGenerator, SABERKEMGenerator, XWingKEMGenerator

public interface EncapsulatedSecretGenerator


Method Summary
 SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey)
          Generate secret/encapsulation based on the recipient public key.
 

Method Detail

generateEncapsulated

public SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey)
Generate secret/encapsulation based on the recipient public key.
Returns:
An SecretWithEncapsulation derived from the recipient public key.

Bouncy Castle Cryptography Library 1.79