de.flexiprovider.pqc.hbc.gmss
Class GMSSParameterSpec
java.lang.Object
|
+--de.flexiprovider.pqc.hbc.gmss.GMSSParameterSpec
- All Implemented Interfaces:
- AlgorithmParameterSpec, java.security.spec.AlgorithmParameterSpec
- public class GMSSParameterSpec
- extends java.lang.Object
- implements AlgorithmParameterSpec
This class provides a specification for the GMSS parameters that are used by
the GMSSKeyPairGenerator and GMSSSignature classes.
- Author:
- Sebastian Blume, Michael Schneider
- See Also:
GMSSKeyPairGenerator,
GMSSSignature
|
Method Summary |
int[] |
getHeightOfTrees()
Returns the array of height (for each layer) of the authentication trees |
int[] |
getK()
Returns the parameter K needed for authentication path computation |
int |
getNumOfLayers()
Returns the number of layers of the authentication trees. |
int[] |
getWinternitzParameter()
Returns the array of Winternitz parameters (for each layer) of the
authentication trees |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMSSParameterSpec
public GMSSParameterSpec(int layers,
int[] heightOfTrees,
int[] winternitzParameter,
int[] K)
- The constructor for the parameters of the GMSSKeyPairGenerator.
- Parameters:
layers - the number of authentication tree layersheightOfTrees - the height of the authentication treeswinternitzParameter - the Winternitz Parameter 'w' of each layerK - parameter for authpath computation
GMSSParameterSpec
public GMSSParameterSpec(GMSSParameterset gmssParSet)
- The constructor
- Parameters:
gmssParSet - an instance of GMSSParameterset
getNumOfLayers
public int getNumOfLayers()
- Returns the number of layers of the authentication trees.
- Returns:
- The number of layers of the authentication trees.
getHeightOfTrees
public int[] getHeightOfTrees()
- Returns the array of height (for each layer) of the authentication trees
- Returns:
- The array of height (for each layer) of the authentication trees
getWinternitzParameter
public int[] getWinternitzParameter()
- Returns the array of Winternitz parameters (for each layer) of the
authentication trees
- Returns:
- The array of Winternitz parameters (for each layer) of the
authentication trees
getK
public int[] getK()
- Returns the parameter K needed for authentication path computation
- Returns:
- The parameter K needed for authentication path computation