public class GMSSLeaf
extends java.lang.Object
Constructor and Description |
---|
GMSSLeaf(Digest digest,
byte[][] otsIndex,
int[] numLeafs)
This constructor regenerates a prior GMSSLeaf object
|
GMSSLeaf(Digest digest,
int w,
int numLeafs,
byte[] seed0) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getLeaf()
Returns the leaf value.
|
byte[][] |
getStatByte()
Returns the status byte array used by the GMSSPrivateKeyASN.1 class
|
int[] |
getStatInt()
Returns the status int array used by the GMSSPrivateKeyASN.1 class
|
java.lang.String |
toString()
Returns a String representation of the main part of this element
|
public GMSSLeaf(Digest digest, byte[][] otsIndex, int[] numLeafs)
digest
- an array of strings, containing the name of the used hash
function and PRNG and the name of the corresponding
providerotsIndex
- status bytesnumLeafs
- status intspublic GMSSLeaf(Digest digest, int w, int numLeafs, byte[] seed0)
public byte[] getLeaf()
public byte[][] getStatByte()
public int[] getStatInt()
public java.lang.String toString()
toString
in class java.lang.Object