public class GMSSPrivateKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec
| Constructor and Description |
|---|
GMSSPrivateKeySpec(int[] index,
byte[][] currentSeed,
byte[][] nextNextSeed,
byte[][][] currentAuthPath,
byte[][][] nextAuthPath,
org.spongycastle.pqc.crypto.gmss.Treehash[][] currentTreehash,
org.spongycastle.pqc.crypto.gmss.Treehash[][] nextTreehash,
java.util.Vector[] currentStack,
java.util.Vector[] nextStack,
java.util.Vector[][] currentRetain,
java.util.Vector[][] nextRetain,
byte[][][] keep,
org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] nextNextLeaf,
org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] upperLeaf,
org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] upperTreehashLeaf,
int[] minTreehash,
byte[][] nextRoot,
org.spongycastle.pqc.crypto.gmss.GMSSRootCalc[] nextNextRoot,
byte[][] currentRootSig,
org.spongycastle.pqc.crypto.gmss.GMSSRootSig[] nextRootSig,
org.spongycastle.pqc.crypto.gmss.GMSSParameters gmssParameterset) |
| Modifier and Type | Method and Description |
|---|---|
byte[][][] |
getCurrentAuthPath() |
java.util.Vector[][] |
getCurrentRetain() |
byte[][] |
getCurrentRootSig() |
byte[][] |
getCurrentSeed() |
java.util.Vector[] |
getCurrentStack() |
org.spongycastle.pqc.crypto.gmss.Treehash[][] |
getCurrentTreehash() |
org.spongycastle.pqc.crypto.gmss.GMSSParameters |
getGmssPS() |
int[] |
getIndex() |
byte[][][] |
getKeep() |
int[] |
getMinTreehash() |
byte[][][] |
getNextAuthPath() |
org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] |
getNextNextLeaf() |
org.spongycastle.pqc.crypto.gmss.GMSSRootCalc[] |
getNextNextRoot() |
byte[][] |
getNextNextSeed() |
java.util.Vector[][] |
getNextRetain() |
byte[][] |
getNextRoot() |
org.spongycastle.pqc.crypto.gmss.GMSSRootSig[] |
getNextRootSig() |
java.util.Vector[] |
getNextStack() |
org.spongycastle.pqc.crypto.gmss.Treehash[][] |
getNextTreehash() |
org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] |
getUpperLeaf() |
org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] |
getUpperTreehashLeaf() |
public GMSSPrivateKeySpec(int[] index,
byte[][] currentSeed,
byte[][] nextNextSeed,
byte[][][] currentAuthPath,
byte[][][] nextAuthPath,
org.spongycastle.pqc.crypto.gmss.Treehash[][] currentTreehash,
org.spongycastle.pqc.crypto.gmss.Treehash[][] nextTreehash,
java.util.Vector[] currentStack,
java.util.Vector[] nextStack,
java.util.Vector[][] currentRetain,
java.util.Vector[][] nextRetain,
byte[][][] keep,
org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] nextNextLeaf,
org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] upperLeaf,
org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] upperTreehashLeaf,
int[] minTreehash,
byte[][] nextRoot,
org.spongycastle.pqc.crypto.gmss.GMSSRootCalc[] nextNextRoot,
byte[][] currentRootSig,
org.spongycastle.pqc.crypto.gmss.GMSSRootSig[] nextRootSig,
org.spongycastle.pqc.crypto.gmss.GMSSParameters gmssParameterset)
index - tree indicescurrentSeed - seed for the generation of private OTS keys for the
current subtrees (TREE)nextNextSeed - seed for the generation of private OTS keys for the
subtrees after next (TREE++)currentAuthPath - array of current authentication paths (AUTHPATH)nextAuthPath - array of next authentication paths (AUTHPATH+)keep - 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 int[] getIndex()
public byte[][] getCurrentSeed()
public byte[][] getNextNextSeed()
public byte[][][] getCurrentAuthPath()
public byte[][][] getNextAuthPath()
public org.spongycastle.pqc.crypto.gmss.Treehash[][] getCurrentTreehash()
public org.spongycastle.pqc.crypto.gmss.Treehash[][] getNextTreehash()
public byte[][][] getKeep()
public java.util.Vector[] getCurrentStack()
public java.util.Vector[] getNextStack()
public java.util.Vector[][] getCurrentRetain()
public java.util.Vector[][] getNextRetain()
public org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] getNextNextLeaf()
public org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] getUpperLeaf()
public org.spongycastle.pqc.crypto.gmss.GMSSLeaf[] getUpperTreehashLeaf()
public int[] getMinTreehash()
public org.spongycastle.pqc.crypto.gmss.GMSSRootSig[] getNextRootSig()
public org.spongycastle.pqc.crypto.gmss.GMSSParameters getGmssPS()
public byte[][] getNextRoot()
public org.spongycastle.pqc.crypto.gmss.GMSSRootCalc[] getNextNextRoot()
public byte[][] getCurrentRootSig()