Package org.bouncycastle.pqc.crypto
Interface EncapsulatedSecretGenerator
- All Known Implementing Classes:
MLKEMGenerator
public interface EncapsulatedSecretGenerator
-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.crypto.SecretWithEncapsulationgenerateEncapsulated(AsymmetricKeyParameter recipientKey) Generate secret/encapsulation based on the recipient public key.
-
Method Details
-
generateEncapsulated
org.bouncycastle.crypto.SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey) Generate secret/encapsulation based on the recipient public key.- Returns:
- An SecretWithEncapsulation derived from the recipient public key.
-