Top Fields Constructors Methods
org.bouncycastle.pqc.crypto.xmss

public Class BDSStateMap

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.IOException, .ObjectInputStream, .ObjectOutputStream, .Serializable, java.util.Iterator, .Map, .TreeMap, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.util.Integers

Field Summary

Modifier and TypeField and Description
private final Map<Integer, BDS>
private transient long
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv
BDSStateMap(long maxIndex)

pack-priv
BDSStateMap(BDSStateMap stateMap, long maxIndex)

pack-priv
BDSStateMap(XMSSMTParameters params, long globalIndex, byte[] publicSeed, byte[] secretKeySeed)

Method Summary

Modifier and TypeMethod and Description
pack-priv BDS
get(int index)

public long
public boolean
pack-priv void
put(int index, BDS bds)

private void
pack-priv BDS
update(int index, byte[] publicSeed, byte[] secretKeySeed, OTSHashAddress otsHashAddress)

pack-priv void
updateState(XMSSMTParameters params, long globalIndex, byte[] publicSeed, byte[] secretKeySeed)

public BDSStateMap
private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bdsStateback to summary
private final Map<Integer, BDS> bdsState
maxIndexback to summary
private transient long maxIndex
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

BDSStateMapback to summary
pack-priv BDSStateMap(long maxIndex)
BDSStateMapback to summary
pack-priv BDSStateMap(BDSStateMap stateMap, long maxIndex)
BDSStateMapback to summary
pack-priv BDSStateMap(XMSSMTParameters params, long globalIndex, byte[] publicSeed, byte[] secretKeySeed)

Method Detail

getback to summary
pack-priv BDS get(int index)
getMaxIndexback to summary
public long getMaxIndex()
isEmptyback to summary
public boolean isEmpty()
putback to summary
pack-priv void put(int index, BDS bds)
readObjectback to summary
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
updateback to summary
pack-priv BDS update(int index, byte[] publicSeed, byte[] secretKeySeed, OTSHashAddress otsHashAddress)
updateStateback to summary
pack-priv void updateState(XMSSMTParameters params, long globalIndex, byte[] publicSeed, byte[] secretKeySeed)
withWOTSDigestback to summary
public BDSStateMap withWOTSDigest(ASN1ObjectIdentifier digestName)
writeObjectback to summary
private void writeObject(ObjectOutputStream out) throws IOException