LMSKeyGenerationParameters (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.pqc.crypto.lms

## Class LMSKeyGenerationParameters

- java.lang.Object
- - org.bouncycastle.crypto.KeyGenerationParameters
  - - org.bouncycastle.pqc.crypto.lms.LMSKeyGenerationParameters

-     public class LMSKeyGenerationParameters
      extends KeyGenerationParameters

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LMSKeyGenerationParameters(LMSParameters lmsParameters, java.security.SecureRandom random)` Base constructor - parameters and a source of randomness.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `LMSParameters` | `getParameters()`

    - ### Methods inherited from class org.bouncycastle.crypto.KeyGenerationParameters

      `getRandom, getStrength`

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

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

- - ### Constructor Detail

    - #### LMSKeyGenerationParameters

          public LMSKeyGenerationParameters(LMSParameters lmsParameters,
                                            java.security.SecureRandom random)

      Base constructor - parameters and a source of randomness.
      Parameters:
        `lmsParameters` - LMS parameter set to use.
        `random` - the random byte source.

  - ### Method Detail

    - #### getParameters

          public LMSParameters getParameters()