| Modifier and Type | Field and Description |
|---|---|
| private byte[][][] | |
| private Vector | |
| private byte[][] | |
| private byte[][] | |
| private Vector | |
| private Treehash[][] | |
| private GMSSDigestProvider | |
| private GMSSParameters | |
| private GMSSRandom | gmssRandom
The PRNG used for private key generation |
| private int[] | heightOfTrees
An array of the heights of the authentication trees of each layer |
| private int[] | |
| private int[] | K
The parameter K needed for the authentication path computation |
| private byte[][][] | |
| private int | mdLength
The message digest length |
| private Digest | messDigestTrees
The hash function used to construct the authentication trees |
| private int[] | |
| private byte[][][] | |
| private GMSSLeaf[] | |
| private GMSSRootCalc[] | |
| private byte[][] | |
| private Vector | |
| private byte[][] | |
| private GMSSRootSig[] | |
| private Vector | |
| private Treehash[][] | |
| private int | numLayer
the number of Layers |
| private int[] | numLeafs
The number of leafs of one tree of each layer |
| private int[] | otsIndex
An array of the Winternitz parameter 'w' of each layer |
| private GMSSLeaf[] | |
| private GMSSLeaf[] | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | GMSSPrivateKeyParameters(byte[][]
seed for the generation of private OTS keys for the
current subtrees currentSeed, byte[][] seed for the generation of private OTS keys for the next
subtrees nextNextSeed, byte[][][] array of current authentication paths currentAuthPath, byte[][][] array of next authentication paths nextAuthPath, Treehash[][] array of current treehash instances currentTreehash, Treehash[][] array of next treehash instances nextTreehash, Vector<E>[] array of current shared stacks currentStack, Vector<E>[] array of next shared stacks nextStack, Vector<E>[][] array of current retain stacks currentRetain, Vector<E>[][] array of next retain stacks nextRetain, byte[][] the roots of the next subtree nextRoot, byte[][] array of signatures of the roots of the current subtrees currentRootSig, GMSSParameters the GMSS Parameterset gmssParameterset, GMSSDigestProvider digestProvider)Generates a new GMSS private key |
| public | GMSSPrivateKeyParameters(int[]
tree indices index, byte[][] currentSeeds, byte[][] nextNextSeeds, byte[][][] currentAuthPaths, byte[][][] nextAuthPaths, byte[][][] keep array for the authPath algorithm keep, Treehash[][] treehash for authPath algorithm of current tree currentTreehash, Treehash[][] treehash for authPath algorithm of next tree (TREE+) nextTreehash, Vector<E>[] shared stack for authPath algorithm of current tree currentStack, Vector<E>[] shared stack for authPath algorithm of next tree (TREE+) nextStack, Vector<E>[][] retain stack for authPath algorithm of current tree currentRetain, Vector<E>[][] retain stack for authPath algorithm of next tree (TREE+) nextRetain, GMSSLeaf[] array of upcoming leafs of the tree after next (LEAF++) of
each layer nextNextLeaf, GMSSLeaf[] needed for precomputation of upper nodes upperLeaf, GMSSLeaf[] needed for precomputation of upper treehash nodes upperTreehashLeaf, int[] index of next treehash instance to receive an update minTreehash, byte[][] the roots of the next trees (ROOT+) nextRoot, GMSSRootCalc[] the roots of the tree after next (ROOT++) nextNextRoot, byte[][] array of signatures of the roots of the current subtrees
(SIG) currentRootSig, GMSSRootSig[] array of signatures of the roots of the next subtree
(SIG+) nextRootSig, GMSSParameters the GMSS Parameterset gmssParameterset, GMSSDigestProvider digestProvider)/** |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | computeAuthPaths(int
the actual layer layer)Computes the upcoming currentAuthpath of layer |
| public byte[][][] | |
| public byte[][] | |
| public int[] | |
| public int | |
| private int | Returns: index of the treehash instance that should get the updatethe layer of the GMSS tree layer)This method returns the index of the next Treehash instance that should receive an update |
| public GMSSDigestProvider | |
| public int | |
| public byte[] | |
| private int | Returns: The largesth with 2^h | Phi if
Phi!=0 else return -1the leaf index Phi)Returns the largest h such that 2^h | Phi |
| public boolean | |
| public void | |
| public GMSSPrivateKeyParameters | |
| private void | nextKey(int
the layer where the next key is processed layer)This method updates the GMSS private key for the next signature |
| private void | nextTree(int
the layer where the next tree is processed layer)Switch to next subtree if the current one is depleted |
| private void | updateKey(int layer)
This method computes the authpath (AUTH) for the current tree,
Additionally the root signature for the next tree (SIG+), the authpath
(AUTH++) and root (ROOT++) for the tree after next in layer
|
| private void | updateNextNextAuthRoot(int layer)
Updates the authentication path and root calculation for the tree after
next (AUTH++, ROOT++) in layer |
| currentAuthPaths | back to summary |
|---|---|
| private byte[][][] currentAuthPaths | |
| currentRetain | back to summary |
|---|---|
| private Vector<E>[][] currentRetain | |
| currentRootSig | back to summary |
|---|---|
| private byte[][] currentRootSig | |
| currentSeeds | back to summary |
|---|---|
| private byte[][] currentSeeds | |
| currentStack | back to summary |
|---|---|
| private Vector<E>[] currentStack | |
| currentTreehash | back to summary |
|---|---|
| private Treehash[][] currentTreehash | |
| digestProvider | back to summary |
|---|---|
| private GMSSDigestProvider digestProvider | |
| gmssPS | back to summary |
|---|---|
| private GMSSParameters gmssPS | |
| gmssRandom | back to summary |
|---|---|
| private GMSSRandom gmssRandom The PRNG used for private key generation | |
| heightOfTrees | back to summary |
|---|---|
| private int[] heightOfTrees An array of the heights of the authentication trees of each layer | |
| index | back to summary |
|---|---|
| private int[] index | |
| K | back to summary |
|---|---|
| private int[] K The parameter K needed for the authentication path computation | |
| keep | back to summary |
|---|---|
| private byte[][][] keep | |
| mdLength | back to summary |
|---|---|
| private int mdLength The message digest length | |
| messDigestTrees | back to summary |
|---|---|
| private Digest messDigestTrees The hash function used to construct the authentication trees | |
| minTreehash | back to summary |
|---|---|
| private int[] minTreehash | |
| nextAuthPaths | back to summary |
|---|---|
| private byte[][][] nextAuthPaths | |
| nextNextLeaf | back to summary |
|---|---|
| private GMSSLeaf[] nextNextLeaf | |
| nextNextRoot | back to summary |
|---|---|
| private GMSSRootCalc[] nextNextRoot | |
| nextNextSeeds | back to summary |
|---|---|
| private byte[][] nextNextSeeds | |
| nextRetain | back to summary |
|---|---|
| private Vector<E>[][] nextRetain | |
| nextRoot | back to summary |
|---|---|
| private byte[][] nextRoot | |
| nextRootSig | back to summary |
|---|---|
| private GMSSRootSig[] nextRootSig | |
| nextStack | back to summary |
|---|---|
| private Vector<E>[] nextStack | |
| nextTreehash | back to summary |
|---|---|
| private Treehash[][] nextTreehash | |
| numLayer | back to summary |
|---|---|
| private int numLayer the number of Layers | |
| numLeafs | back to summary |
|---|---|
| private int[] numLeafs The number of leafs of one tree of each layer | |
| otsIndex | back to summary |
|---|---|
| private int[] otsIndex An array of the Winternitz parameter 'w' of each layer | |
| upperLeaf | back to summary |
|---|---|
| private GMSSLeaf[] upperLeaf | |
| upperTreehashLeaf | back to summary |
|---|---|
| private GMSSLeaf[] upperTreehashLeaf | |
| used | back to summary |
|---|---|
| private boolean used | |
| GMSSPrivateKeyParameters | back to summary |
|---|---|
| public GMSSPrivateKeyParameters(byte[][] currentSeed, byte[][] nextNextSeed, byte[][][] currentAuthPath, byte[][][] nextAuthPath, Treehash[][] currentTreehash, Treehash[][] nextTreehash, Vector<E>[] currentStack, Vector<E>[] nextStack, Vector<E>[][] currentRetain, Vector<E>[][] nextRetain, byte[][] nextRoot, byte[][] currentRootSig, GMSSParameters gmssParameterset, GMSSDigestProvider digestProvider) Generates a new GMSS private key
| |
| GMSSPrivateKeyParameters | back to summary |
|---|---|
| public GMSSPrivateKeyParameters(int[] index, byte[][] currentSeeds, byte[][] nextNextSeeds, byte[][][] currentAuthPaths, byte[][][] nextAuthPaths, byte[][][] keep, Treehash[][] currentTreehash, Treehash[][] nextTreehash, Vector<E>[] currentStack, Vector<E>[] nextStack, Vector<E>[][] currentRetain, Vector<E>[][] nextRetain, GMSSLeaf[] nextNextLeaf, GMSSLeaf[] upperLeaf, GMSSLeaf[] upperTreehashLeaf, int[] minTreehash, byte[][] nextRoot, GMSSRootCalc[] nextNextRoot, byte[][] currentRootSig, GMSSRootSig[] nextRootSig, GMSSParameters gmssParameterset, GMSSDigestProvider digestProvider) /**
| |
| GMSSPrivateKeyParameters | back to summary |
|---|---|
| private GMSSPrivateKeyParameters(GMSSPrivateKeyParameters original) | |
| computeAuthPaths | back to summary |
|---|---|
| private void computeAuthPaths(int layer) Computes the upcoming currentAuthpath of layer
| |
| getCurrentAuthPaths | back to summary |
|---|---|
| public byte[][][] getCurrentAuthPaths() | |
| getCurrentSeeds | back to summary |
|---|---|
| public byte[][] getCurrentSeeds() | |
| getIndex | back to summary |
|---|---|
| public int[] getIndex() | |
| getIndex | back to summary |
|---|---|
public int getIndex(int i)
| |
| getMinTreehashIndex | back to summary |
|---|---|
| private int getMinTreehashIndex(int layer) This method returns the index of the next Treehash instance that should receive an update
| |
| getName | back to summary |
|---|---|
| public GMSSDigestProvider getName() | |
| getNumLeafs | back to summary |
|---|---|
public int getNumLeafs(int i)
| |
| getSubtreeRootSig | back to summary |
|---|---|
public byte[] getSubtreeRootSig(int i)
| |
| heightOfPhi | back to summary |
|---|---|
| private int heightOfPhi(int Phi) Returns the largest h such that 2^h | Phi
| |
| isUsed | back to summary |
|---|---|
| public boolean isUsed() | |
| markUsed | back to summary |
|---|---|
| public void markUsed() | |
| nextKey | back to summary |
|---|---|
| public GMSSPrivateKeyParameters nextKey() | |
| nextKey | back to summary |
|---|---|
| private void nextKey(int layer) This method updates the GMSS private key for the next signature
| |
| nextTree | back to summary |
|---|---|
| private void nextTree(int layer) Switch to next subtree if the current one is depleted
| |
| updateKey | back to summary |
|---|---|
| private void updateKey(int layer) This method computes the authpath (AUTH) for the current tree,
Additionally the root signature for the next tree (SIG+), the authpath
(AUTH++) and root (ROOT++) for the tree after next in layer
| |
| updateNextNextAuthRoot | back to summary |
|---|---|
| private void updateNextNextAuthRoot(int layer) Updates the authentication path and root calculation for the tree after
next (AUTH++, ROOT++) in layer | |