Package org.bouncycastle.pqc.jcajce.interfaces

## Interface LMSKey

- All Superinterfaces:
    `java.security.Key`, `java.io.Serializable`
  All Known Subinterfaces:
    `LMSPrivateKey`
  All Known Implementing Classes:
    `BCLMSPrivateKey`, `BCLMSPublicKey`

      public interface LMSKey
      extends java.security.Key

  Base interface for Leighton-Micali Hash-Based Signatures (LMS) keys.

- - ### Field Summary

    - ### Fields inherited from interface java.security.Key

      `serialVersionUID`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getLevels()` | Return the number of levels (L) associated with the key.

    - ### Methods inherited from interface java.security.Key

      `getAlgorithm, getEncoded, getFormat`

- - ### Method Detail

    - #### getLevels

          int getLevels()

      Return the number of levels (L) associated with the key.
      Returns:
        L.