Package org.bouncycastle.pqc.jcajce.spec
Class LMSKeyGenParameterSpec
java.lang.Object
org.bouncycastle.pqc.jcajce.spec.LMSKeyGenParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
ParameterSpec for the Leighton-Micali Hash-Based Signature (LMS) scheme.
-
Constructor Summary
ConstructorDescriptionLMSKeyGenParameterSpec
(LMSigParameters lmSigParams, LMOtsParameters lmOtsParameters) Base constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic LMSKeyGenParameterSpec
Return the LM OTS parameters to use for the underlying one-time signature keys.Return the LMS system signature parameters.
-
Constructor Details
-
LMSKeyGenParameterSpec
Base constructor.- Parameters:
lmSigParams
- the LMS system signature parameters to use.lmOtsParameters
- the LM OTS parameters to use for the underlying one-time signature keys.
-
-
Method Details
-
getSigParams
Return the LMS system signature parameters.- Returns:
- the LMS system signature parameters.
-
getOtsParams
Return the LM OTS parameters to use for the underlying one-time signature keys.- Returns:
- the LM OTS parameters.
-
fromNames
-