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

org.bouncycastle.pqc.crypto.lms

## Class HSSKeyGenerationParameters

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

-     public class HSSKeyGenerationParameters
      extends KeyGenerationParameters

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HSSKeyGenerationParameters(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
    --- | ---
    `int` | `getDepth()`
    `LMSParameters[]` | `getLmsParameters()`

    - ### 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

    - #### HSSKeyGenerationParameters

          public HSSKeyGenerationParameters(LMSParameters[] lmsParameters,
                                            java.security.SecureRandom random)

      Base constructor - parameters and a source of randomness.
      Parameters:
        `lmsParameters` - array of LMS parameters, one per level in the hierarchy (up to 8 levels).
        `random` - the random byte source.

  - ### Method Detail

    - #### getDepth

          public int getDepth()

    - #### getLmsParameters

          public LMSParameters[] getLmsParameters()