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

org.bouncycastle.pqc.crypto.xmss

## Class BDSStateMap

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

- All Implemented Interfaces:
    java.io.Serializable

      public class BDSStateMap
      extends java.lang.Object
      implements java.io.Serializable

  See Also:
    Serialized Form

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getMaxIndex()`
    `boolean` | `isEmpty()`
    `BDSStateMap` | `withWOTSDigest(ASN1ObjectIdentifier digestName)`
    `BDSStateMap` | `withWOTSDigest(ASN1ObjectIdentifier digestName, int digestSize)`

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

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

- - ### Method Detail

    - #### getMaxIndex

          public long getMaxIndex()

    - #### isEmpty

          public boolean isEmpty()

    - #### withWOTSDigest

          public BDSStateMap withWOTSDigest(ASN1ObjectIdentifier digestName)

    - #### withWOTSDigest

          public BDSStateMap withWOTSDigest(ASN1ObjectIdentifier digestName,
                                            int digestSize)