org.bouncycastle.pqc.jcajce.spec
Class GMSSPrivateKeySpec
java.lang.Object
org.bouncycastle.pqc.jcajce.spec.GMSSPrivateKeySpec
- All Implemented Interfaces:
- java.security.spec.KeySpec
public class GMSSPrivateKeySpec
- extends java.lang.Object
- implements java.security.spec.KeySpec
This class provides a specification for a GMSS private key.
Constructor Summary |
GMSSPrivateKeySpec(int[] index,
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[][][] keep,
GMSSLeaf[] nextNextLeaf,
GMSSLeaf[] upperLeaf,
GMSSLeaf[] upperTreehashLeaf,
int[] minTreehash,
byte[][] nextRoot,
GMSSRootCalc[] nextNextRoot,
byte[][] currentRootSig,
GMSSRootSig[] nextRootSig,
GMSSParameters gmssParameterset)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMSSPrivateKeySpec
public GMSSPrivateKeySpec(int[] index,
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[][][] keep,
GMSSLeaf[] nextNextLeaf,
GMSSLeaf[] upperLeaf,
GMSSLeaf[] upperTreehashLeaf,
int[] minTreehash,
byte[][] nextRoot,
GMSSRootCalc[] nextNextRoot,
byte[][] currentRootSig,
GMSSRootSig[] nextRootSig,
GMSSParameters gmssParameterset)
- Parameters:
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 Parameterset
getIndex
public int[] getIndex()
getCurrentSeed
public byte[][] getCurrentSeed()
getNextNextSeed
public byte[][] getNextNextSeed()
getCurrentAuthPath
public byte[][][] getCurrentAuthPath()
getNextAuthPath
public byte[][][] getNextAuthPath()
getCurrentTreehash
public Treehash[][] getCurrentTreehash()
getNextTreehash
public Treehash[][] getNextTreehash()
getKeep
public byte[][][] getKeep()
getCurrentStack
public java.util.Vector[] getCurrentStack()
getNextStack
public java.util.Vector[] getNextStack()
getCurrentRetain
public java.util.Vector[][] getCurrentRetain()
getNextRetain
public java.util.Vector[][] getNextRetain()
getNextNextLeaf
public GMSSLeaf[] getNextNextLeaf()
getUpperLeaf
public GMSSLeaf[] getUpperLeaf()
getUpperTreehashLeaf
public GMSSLeaf[] getUpperTreehashLeaf()
getMinTreehash
public int[] getMinTreehash()
getNextRootSig
public GMSSRootSig[] getNextRootSig()
getGmssPS
public GMSSParameters getGmssPS()
getNextRoot
public byte[][] getNextRoot()
getNextNextRoot
public GMSSRootCalc[] getNextNextRoot()
getCurrentRootSig
public byte[][] getCurrentRootSig()