de.flexiprovider.pqc.hbc.cmss
Class CMSSParameterSpec
java.lang.Object
|
+--de.flexiprovider.pqc.hbc.cmss.CMSSParameterSpec
- All Implemented Interfaces:
- AlgorithmParameterSpec, java.security.spec.AlgorithmParameterSpec
- public class CMSSParameterSpec
- extends java.lang.Object
- implements AlgorithmParameterSpec
This class provides a specification for the CMSS parameters that are used by
the CMSSKeyPairGenerator and CMSSSignature classes.
- Author:
- Elena Klintsevich, Martin Döring
- See Also:
CMSSKeyPairGenerator,
CMSSSignature,
AlgorithmParameterSpec
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMSSParameterSpec
public CMSSParameterSpec()
- Default constructor. Sets heightOfTrees = 10,
seedSize = 20.
CMSSParameterSpec
public CMSSParameterSpec(int heightOfTrees)
- Constructor. Sets seedSize = 20.
- Parameters:
heightOfTrees - the height of the authentication trees
CMSSParameterSpec
public CMSSParameterSpec(int heightOfTrees,
int seedSize)
- Constructor.
- Parameters:
heightOfTrees - the height of the authentication treesseedSize - the size in bytes of the seed for the PRNG
getHeightOfTrees
public final int getHeightOfTrees()
- Returns:
- the height of the authentication trees
getSeedSize
public final int getSeedSize()
- Returns:
- the size in bytes of the seed for the PRNG