Package org.bouncycastle.pqc.jcajce.spec

## Class XMSSParameterSpec

- java.lang.Object
- - org.bouncycastle.pqc.jcajce.spec.XMSSParameterSpec

- All Implemented Interfaces:
    `java.security.spec.AlgorithmParameterSpec`

      public class XMSSParameterSpec
      extends java.lang.Object
      implements java.security.spec.AlgorithmParameterSpec

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static XMSSParameterSpec` | `SHA2_10_256` | Standard XMSS parameters
    `static XMSSParameterSpec` | `SHA2_10_512` |
    `static XMSSParameterSpec` | `SHA2_16_256` |
    `static XMSSParameterSpec` | `SHA2_16_512` |
    `static XMSSParameterSpec` | `SHA2_20_256` |
    `static XMSSParameterSpec` | `SHA2_20_512` |
    `static java.lang.String` | `SHA256` | Use SHA-256 for the tree generation function.
    `static java.lang.String` | `SHA512` | Use SHA512 for the tree generation function.
    `static XMSSParameterSpec` | `SHAKE_10_256` |
    `static XMSSParameterSpec` | `SHAKE_10_512` |
    `static XMSSParameterSpec` | `SHAKE_16_256` |
    `static XMSSParameterSpec` | `SHAKE_16_512` |
    `static XMSSParameterSpec` | `SHAKE_20_256` |
    `static XMSSParameterSpec` | `SHAKE_20_512` |
    `static java.lang.String` | `SHAKE128` | Use SHAKE128 for the tree generation function.
    `static java.lang.String` | `SHAKE256` | Use SHAKE256 for the tree generation function.

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `XMSSParameterSpec​(int height, java.lang.String treeDigest)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getHeight()` |
    `java.lang.String` | `getTreeDigest()` |

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

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

- - ### Field Detail

    - #### SHA256

          public static final java.lang.String SHA256

      Use SHA-256 for the tree generation function.
      See Also:
        Constant Field Values

    - #### SHA512

          public static final java.lang.String SHA512

      Use SHA512 for the tree generation function.
      See Also:
        Constant Field Values

    - #### SHAKE128

          public static final java.lang.String SHAKE128

      Use SHAKE128 for the tree generation function.
      See Also:
        Constant Field Values

    - #### SHAKE256

          public static final java.lang.String SHAKE256

      Use SHAKE256 for the tree generation function.
      See Also:
        Constant Field Values

    - #### SHA2_10_256

          public static final XMSSParameterSpec SHA2_10_256

      Standard XMSS parameters

    - #### SHA2_16_256

          public static final XMSSParameterSpec SHA2_16_256

    - #### SHA2_20_256

          public static final XMSSParameterSpec SHA2_20_256

    - #### SHAKE_10_256

          public static final XMSSParameterSpec SHAKE_10_256

    - #### SHAKE_16_256

          public static final XMSSParameterSpec SHAKE_16_256

    - #### SHAKE_20_256

          public static final XMSSParameterSpec SHAKE_20_256

    - #### SHA2_10_512

          public static final XMSSParameterSpec SHA2_10_512

    - #### SHA2_16_512

          public static final XMSSParameterSpec SHA2_16_512

    - #### SHA2_20_512

          public static final XMSSParameterSpec SHA2_20_512

    - #### SHAKE_10_512

          public static final XMSSParameterSpec SHAKE_10_512

    - #### SHAKE_16_512

          public static final XMSSParameterSpec SHAKE_16_512

    - #### SHAKE_20_512

          public static final XMSSParameterSpec SHAKE_20_512

  - ### Constructor Detail

    - #### XMSSParameterSpec

          public XMSSParameterSpec​(int height,
                                   java.lang.String treeDigest)

  - ### Method Detail

    - #### getTreeDigest

          public java.lang.String getTreeDigest()

    - #### getHeight

          public int getHeight()