org.bouncycastle.pqc.crypto.frodo

## Class FrodoKEMGenerator

- java.lang.Object
- - org.bouncycastle.pqc.crypto.frodo.FrodoKEMGenerator

- All Implemented Interfaces:
    EncapsulatedSecretGenerator

  Deprecated.
  the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.

      @Deprecated
      public class FrodoKEMGenerator
      extends java.lang.Object
      implements EncapsulatedSecretGenerator

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FrodoKEMGenerator(java.security.SecureRandom random)` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `SecretWithEncapsulation` | `generateEncapsulated(AsymmetricKeyParameter recipientKey)` Deprecated. Generate secret/encapsulation based on the recipient public key.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FrodoKEMGenerator

          public FrodoKEMGenerator(java.security.SecureRandom random)

      Deprecated.

  - ### Method Detail

    - #### generateEncapsulated

          public SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey)

      Deprecated.
      Description copied from interface: `EncapsulatedSecretGenerator`
      Generate secret/encapsulation based on the recipient public key.
      Specified by:
        `generateEncapsulated` in interface `EncapsulatedSecretGenerator`
      Returns:
        An SecretWithEncapsulation derived from the recipient public key.