public class GMSSPrivateKeyParameters extends GMSSKeyParameters
| Constructor and Description |
|---|
GMSSPrivateKeyParameters(byte[][] currentSeed,
byte[][] nextNextSeed,
byte[][][] currentAuthPath,
byte[][][] nextAuthPath,
Treehash[][] currentTreehash,
Treehash[][] nextTreehash,
java.util.Vector[] currentStack,
java.util.Vector[] nextStack,
java.util.Vector[][] currentRetain,
java.util.Vector[][] nextRetain,
byte[][] nextRoot,
byte[][] currentRootSig,
GMSSParameters gmssParameterset,
GMSSDigestProvider digestProvider)
Generates a new GMSS private key
|
GMSSPrivateKeyParameters(int[] index,
byte[][] currentSeeds,
byte[][] nextNextSeeds,
byte[][][] currentAuthPaths,
byte[][][] nextAuthPaths,
byte[][][] keep,
Treehash[][] currentTreehash,
Treehash[][] nextTreehash,
java.util.Vector[] currentStack,
java.util.Vector[] nextStack,
java.util.Vector[][] currentRetain,
java.util.Vector[][] nextRetain,
GMSSLeaf[] nextNextLeaf,
GMSSLeaf[] upperLeaf,
GMSSLeaf[] upperTreehashLeaf,
int[] minTreehash,
byte[][] nextRoot,
GMSSRootCalc[] nextNextRoot,
byte[][] currentRootSig,
GMSSRootSig[] nextRootSig,
GMSSParameters gmssParameterset,
GMSSDigestProvider digestProvider)
/**
|
| Modifier and Type | Method and Description |
|---|---|
byte[][][] |
getCurrentAuthPaths() |
byte[][] |
getCurrentSeeds() |
int[] |
getIndex() |
int |
getIndex(int i) |
GMSSDigestProvider |
getName() |
int |
getNumLeafs(int i) |
byte[] |
getSubtreeRootSig(int i) |
boolean |
isUsed() |
void |
markUsed() |
GMSSPrivateKeyParameters |
nextKey() |
getParametersisPrivatepublic GMSSPrivateKeyParameters(byte[][] currentSeed,
byte[][] nextNextSeed,
byte[][][] currentAuthPath,
byte[][][] nextAuthPath,
Treehash[][] currentTreehash,
Treehash[][] nextTreehash,
java.util.Vector[] currentStack,
java.util.Vector[] nextStack,
java.util.Vector[][] currentRetain,
java.util.Vector[][] nextRetain,
byte[][] nextRoot,
byte[][] currentRootSig,
GMSSParameters gmssParameterset,
GMSSDigestProvider digestProvider)
currentSeed - seed for the generation of private OTS keys for the
current subtreesnextNextSeed - seed for the generation of private OTS keys for the next
subtreescurrentAuthPath - array of current authentication pathsnextAuthPath - array of next authentication pathscurrentTreehash - array of current treehash instancesnextTreehash - array of next treehash instancescurrentStack - array of current shared stacksnextStack - array of next shared stackscurrentRetain - array of current retain stacksnextRetain - array of next retain stacksnextRoot - the roots of the next subtreecurrentRootSig - array of signatures of the roots of the current subtreesgmssParameterset - the GMSS ParametersetGMSSKeyPairGeneratorpublic GMSSPrivateKeyParameters(int[] index,
byte[][] currentSeeds,
byte[][] nextNextSeeds,
byte[][][] currentAuthPaths,
byte[][][] nextAuthPaths,
byte[][][] keep,
Treehash[][] currentTreehash,
Treehash[][] nextTreehash,
java.util.Vector[] currentStack,
java.util.Vector[] nextStack,
java.util.Vector[][] currentRetain,
java.util.Vector[][] nextRetain,
GMSSLeaf[] nextNextLeaf,
GMSSLeaf[] upperLeaf,
GMSSLeaf[] upperTreehashLeaf,
int[] minTreehash,
byte[][] nextRoot,
GMSSRootCalc[] nextNextRoot,
byte[][] currentRootSig,
GMSSRootSig[] nextRootSig,
GMSSParameters gmssParameterset,
GMSSDigestProvider digestProvider)
index - tree indiceskeep - keep array for the authPath algorithmcurrentTreehash - treehash for authPath algorithm of current treenextTreehash - treehash for authPath algorithm of next tree (TREE+)currentStack - shared stack for authPath algorithm of current treenextStack - shared stack for authPath algorithm of next tree (TREE+)currentRetain - retain stack for authPath algorithm of current treenextRetain - retain stack for authPath algorithm of next tree (TREE+)nextNextLeaf - array of upcoming leafs of the tree after next (LEAF++) of
each layerupperLeaf - needed for precomputation of upper nodesupperTreehashLeaf - needed for precomputation of upper treehash nodesminTreehash - index of next treehash instance to receive an updatenextRoot - the roots of the next trees (ROOT+)nextNextRoot - the roots of the tree after next (ROOT++)currentRootSig - array of signatures of the roots of the current subtrees
(SIG)nextRootSig - array of signatures of the roots of the next subtree
(SIG+)gmssParameterset - the GMSS Parametersetpublic boolean isUsed()
public void markUsed()
public GMSSPrivateKeyParameters nextKey()
public int[] getIndex()
public int getIndex(int i)
public byte[][] getCurrentSeeds()
public byte[][][] getCurrentAuthPaths()
public byte[] getSubtreeRootSig(int i)
public GMSSDigestProvider getName()
public int getNumLeafs(int i)