Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto
Interface EncapsulatedSecretGenerator

All Known Implementing Classes:
RSAKEMGenerator, ECIESKEMGenerator

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.77.0