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

org.bouncycastle.pqc.crypto.xmss

## Class XMSSAddress.Builder<T extends XMSSAddress.Builder>

- java.lang.Object
- - org.bouncycastle.pqc.crypto.xmss.XMSSAddress.Builder<T>

- Enclosing class:
    XMSSAddress

      protected abstract static class XMSSAddress.Builder<T extends XMSSAddress.Builder>
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `Builder(int type)`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract XMSSAddress` | `build()`
    `protected abstract T` | `getThis()`
    `protected T` | `withKeyAndMask(int val)`
    `protected T` | `withLayerAddress(int val)`
    `protected T` | `withTreeAddress(long val)`

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

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

- - ### Constructor Detail

    - #### Builder

          protected Builder(int type)

  - ### Method Detail

    - #### withLayerAddress

          protected T withLayerAddress(int val)

    - #### withTreeAddress

          protected T withTreeAddress(long val)

    - #### withKeyAndMask

          protected T withKeyAndMask(int val)

    - #### build

          protected abstract XMSSAddress build()

    - #### getThis

          protected abstract T getThis()