Interface EncapsulatedSecretGenerator

All Known Implementing Classes:
MLKEMGenerator

public interface EncapsulatedSecretGenerator
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.crypto.SecretWithEncapsulation
    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.