Package org.bouncycastle.pqc.crypto.xmss

## Class XMSSParameters

- java.lang.Object
- - org.bouncycastle.pqc.crypto.xmss.XMSSParameters

-     public final class XMSSParameters
      extends java.lang.Object

  XMSS Parameters.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `XMSSParameters​(int height, ASN1ObjectIdentifier treeDigestOID)` | XMSS Constructor...
    `XMSSParameters​(int height, Digest treeDigest)` | XMSS Constructor...

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getHeight()` | Getter height.
    `ASN1ObjectIdentifier` | `getTreeDigestOID()` | Return the tree digest OID.
    `int` | `getTreeDigestSize()` | Getter digest size.
    `static XMSSParameters` | `lookupByOID​(int oid)` |

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

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

- - ### Constructor Detail

    - #### XMSSParameters

          public XMSSParameters​(int height,
                                Digest treeDigest)

      XMSS Constructor...
      Parameters:
        `height` - Height of tree.
        `treeDigest` - Digest to use.

    - #### XMSSParameters

          public XMSSParameters​(int height,
                                ASN1ObjectIdentifier treeDigestOID)

      XMSS Constructor...
      Parameters:
        `height` - Height of tree.
        `treeDigestOID` - OID of digest to use.

  - ### Method Detail

    - #### getTreeDigestSize

          public int getTreeDigestSize()

      Getter digest size.
      Returns:
        Digest size.

    - #### getTreeDigestOID

          public ASN1ObjectIdentifier getTreeDigestOID()

      Return the tree digest OID.
      Returns:
        OID for digest used to build the tree.

    - #### getHeight

          public int getHeight()

      Getter height.
      Returns:
        XMSS tree height.

    - #### lookupByOID

          public static XMSSParameters lookupByOID​(int oid)