XMSSAddress (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.pqc.crypto.xmss

## Class XMSSAddress

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

-     public abstract class XMSSAddress
      extends java.lang.Object

  XMSS address.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `protected static class` | `XMSSAddress.Builder<T extends XMSSAddress.Builder>`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `XMSSAddress(XMSSAddress.Builder builder)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getKeyAndMask()`
    `protected int` | `getLayerAddress()`
    `protected long` | `getTreeAddress()`
    `int` | `getType()`
    `protected byte[]` | `toByteArray()`

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

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

- - ### Constructor Detail

    - #### XMSSAddress

          protected XMSSAddress(XMSSAddress.Builder builder)

  - ### Method Detail

    - #### toByteArray

          protected byte[] toByteArray()

    - #### getLayerAddress

          protected final int getLayerAddress()

    - #### getTreeAddress

          protected final long getTreeAddress()

    - #### getType

          public final int getType()

    - #### getKeyAndMask

          public final int getKeyAndMask()