Class SPHINCSParameters
java.lang.Object
de.hda.fbi.ucs.eucrite.parameters.SPHINCSParameters
- All Implemented Interfaces:
AlgorithmParameters
public class SPHINCSParameters extends Object implements AlgorithmParameters
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SPHINCSParameters.Mode
Nested classes/interfaces inherited from interface de.hda.fbi.ucs.eucrite.parameters.AlgorithmParameters
AlgorithmParameters.Algorithm, AlgorithmParameters.Template, AlgorithmParameters.Type
-
Constructor Summary
Constructors Constructor Description SPHINCSParameters(SPHINCSParameters.Mode mode)
Creates a newSPHINCSParameters
object with the given treeDigest. -
Method Summary
Modifier and Type Method Description int
getMode()
Returns thetreeDigest
.AlgorithmParameters.Type
getType()
Return the type of the cryptographic scheme.
-
Constructor Details
-
SPHINCSParameters
Creates a newSPHINCSParameters
object with the given treeDigest. SPHINCS is a quantum-safe signature scheme. Compared to classical signature schemes, keys and signatures are rather big.- Parameters:
mode
- The SPHINCS mode, optimized to be FAST or SMALL.
-
-
Method Details
-
getType
Description copied from interface:AlgorithmParameters
Return the type of the cryptographic scheme.- Specified by:
getType
in interfaceAlgorithmParameters
- Returns:
- The type of the cryptographic scheme.
-
getMode
public int getMode()Returns thetreeDigest
.- Returns:
- The hash algorithm used for signing.
-