| Modifier and Type | Field and Description |
|---|---|
| private long | big8
variables for storing big numbers for the actual status of distributed signing |
| private int | checksum
The checksum part |
| private int | counter
Some variables for storing the actual status of distributed signing |
| private GMSSRandom | gmssRandom
The source of randomness for OTS private key generation |
| private byte[] | hash
The message bytes |
| private int | height
The height of the tree |
| private int | ii
Some variables for storing the actual status of distributed signing |
| private int | k
Some precalculated values |
| private int | keysize
The length of the message digest and private key |
| private int | mdsize
The length of the message digest and private key |
| private int | messagesize
Sizes of the message |
| private Digest | messDigestOTS
The hash function used by the OTS |
| private byte[] | privateKeyOTS
The private key |
| private int | r
Some variables for storing the actual status of distributed signing |
| private byte[] | seed
The current intern OTSseed |
| private byte[] | sign
The signature bytes |
| private int | steps
The necessary steps of each updateSign() call |
| private int | test
Some variables for storing the actual status of distributed signing |
| private long | test8
variables for storing big numbers for the actual status of distributed signing |
| private int | w
The Winternitz parameter |
| Access | Constructor and Description |
|---|---|
| public | GMSSRootSig(Digest
an array of strings, containing the digest of the used hash
function, the digest of the PRGN and the names of the
corresponding providers digest, byte[][] status byte array statByte, int[] status int array statInt)This constructor regenerates a prior GMSSRootSig object used by the GMSSPrivateKeyASN.1 class |
| public | GMSSRootSig(Digest
an array of strings, containing the digest of the used hash
function, the digest of the PRGN and the names of the
corresponding providers digest, int the winternitz parameter w, int the heigth of the tree height)The constructor generates the PRNG and initializes some variables |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The least integer greater or equal to the logarithm to the base 2 ofintValuean integer intValue)This method returns the least integer that is greater or equal to the
logarithm to the base 2 of an integer |
| public byte[] | |
| public byte[][] | |
| public int[] | |
| public byte[] | |
| public void | initSign(byte[]
the initial OTSseed seed0, byte[] the massage which will be signed message)This method initializes the distributed sigature calculation. |
| private void | |
| public String | Returns: a string representation of the instanceOverrides java. returns a string representation of the instance |
| public boolean | Returns: true if signature is generated completly, else falseThis Method performs |
| big8 | back to summary |
|---|---|
| private long big8 variables for storing big numbers for the actual status of distributed signing | |
| checksum | back to summary |
|---|---|
| private int checksum The checksum part | |
| counter | back to summary |
|---|---|
| private int counter Some variables for storing the actual status of distributed signing | |
| gmssRandom | back to summary |
|---|---|
| private GMSSRandom gmssRandom The source of randomness for OTS private key generation | |
| hash | back to summary |
|---|---|
| private byte[] hash The message bytes | |
| height | back to summary |
|---|---|
| private int height The height of the tree | |
| ii | back to summary |
|---|---|
| private int ii Some variables for storing the actual status of distributed signing | |
| k | back to summary |
|---|---|
| private int k Some precalculated values | |
| keysize | back to summary |
|---|---|
| private int keysize The length of the message digest and private key | |
| mdsize | back to summary |
|---|---|
| private int mdsize The length of the message digest and private key | |
| messagesize | back to summary |
|---|---|
| private int messagesize Sizes of the message | |
| messDigestOTS | back to summary |
|---|---|
| private Digest messDigestOTS The hash function used by the OTS | |
| privateKeyOTS | back to summary |
|---|---|
| private byte[] privateKeyOTS The private key | |
| r | back to summary |
|---|---|
| private int r Some variables for storing the actual status of distributed signing | |
| seed | back to summary |
|---|---|
| private byte[] seed The current intern OTSseed | |
| sign | back to summary |
|---|---|
| private byte[] sign The signature bytes | |
| steps | back to summary |
|---|---|
| private int steps The necessary steps of each updateSign() call | |
| test | back to summary |
|---|---|
| private int test Some variables for storing the actual status of distributed signing | |
| test8 | back to summary |
|---|---|
| private long test8 variables for storing big numbers for the actual status of distributed signing | |
| w | back to summary |
|---|---|
| private int w The Winternitz parameter | |
| GMSSRootSig | back to summary |
|---|---|
| public GMSSRootSig(Digest digest, byte[][] statByte, int[] statInt) This constructor regenerates a prior GMSSRootSig object used by the GMSSPrivateKeyASN.1 class
| |
| GMSSRootSig | back to summary |
|---|---|
| public GMSSRootSig(Digest digest, int w, int height) The constructor generates the PRNG and initializes some variables
| |
| getLog | back to summary |
|---|---|
| public int getLog(int intValue) This method returns the least integer that is greater or equal to the
logarithm to the base 2 of an integer
| |
| getSig | back to summary |
|---|---|
public byte[] getSig()
| |
| getStatByte | back to summary |
|---|---|
| public byte[][] getStatByte() This method returns the status byte array
| |
| getStatInt | back to summary |
|---|---|
| public int[] getStatInt() This method returns the status int array
| |
| getStatLong | back to summary |
|---|---|
| public byte[] getStatLong() Converts the long parameters into byte arrays to store it in statByte-Array | |
| initSign | back to summary |
|---|---|
| public void initSign(byte[] seed0, byte[] message) This method initializes the distributed sigature calculation. Variables are reseted and necessary steps are calculated
| |
| oneStep | back to summary |
|---|---|
private void oneStep()
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. returns a string representation of the instance
| |
| updateSign | back to summary |
|---|---|
| public boolean updateSign() This Method performs
| |