Package org.bouncycastle.pqc.crypto.lms

## Class LMSKeyParameters

- java.lang.Object
- - org.bouncycastle.crypto.params.AsymmetricKeyParameter
  - - org.bouncycastle.pqc.crypto.lms.LMSKeyParameters

- All Implemented Interfaces:
    `CipherParameters`, `Encodable`
  Direct Known Subclasses:
    `HSSPrivateKeyParameters`, `HSSPublicKeyParameters`, `LMSPrivateKeyParameters`, `LMSPublicKeyParameters`

      public abstract class LMSKeyParameters
      extends AsymmetricKeyParameter
      implements Encodable

- - ### Constructor Summary

    Constructors
    Modifier | Constructor | Description
    --- | --- | ---
    `protected` | `LMSKeyParameters​(boolean isPrivateKey)` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract byte[]` | `getEncoded()` | Return a byte array representing the implementing object.

    - ### Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter

      `isPrivate`

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

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

- - ### Constructor Detail

    - #### LMSKeyParameters

          protected LMSKeyParameters​(boolean isPrivateKey)

  - ### Method Detail

    - #### getEncoded

          public abstract byte[] getEncoded()
                                     throws java.io.IOException

      Description copied from interface: `Encodable`
      Return a byte array representing the implementing object.
      Specified by:
        `getEncoded` in interface `Encodable`
      Returns:
        a byte array representing the encoding.
      Throws:
        `java.io.IOException` - if an issue arises generation the encoding.