Package org.bouncycastle.pqc.crypto.xmss

## Class DefaultXMSSOid

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

- All Implemented Interfaces:
    `XMSSOid`

      public final class DefaultXMSSOid
      extends java.lang.Object
      implements XMSSOid

  XMSSOid class.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getOid()` | Getter OID.
    `static DefaultXMSSOid` | `lookup​(java.lang.String algorithmName, int digestSize, int winternitzParameter, int len, int height)` | Lookup OID.
    `java.lang.String` | `toString()` |

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

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

- - ### Method Detail

    - #### lookup

          public static DefaultXMSSOid lookup​(java.lang.String algorithmName,
                                              int digestSize,
                                              int winternitzParameter,
                                              int len,
                                              int height)

      Lookup OID.
      Parameters:
        `algorithmName` - Algorithm name.
        `winternitzParameter` - Winternitz parameter.
        `height` - Binary tree height.
      Returns:
        XMSS OID if parameters were found, null else.

    - #### getOid

          public int getOid()

      Getter OID.
      Specified by:
        `getOid` in interface `XMSSOid`
      Returns:
        OID.

    - #### toString

          public java.lang.String toString()

      Specified by:
        `toString` in interface `XMSSOid`
      Overrides:
        `toString` in class `java.lang.Object`