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

Constructor Summary
CMSSParameterSpec()
          Default constructor.
CMSSParameterSpec(int heightOfTrees)
          Constructor.
CMSSParameterSpec(int heightOfTrees, int seedSize)
          Constructor.
 
Method Summary
 int getHeightOfTrees()
           
 int getSeedSize()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 trees
seedSize - the size in bytes of the seed for the PRNG
Method Detail

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