Package org.bouncycastle.jcajce.spec
Class LMSKeyGenParameterSpec
java.lang.Object
org.bouncycastle.jcajce.spec.LMSKeyGenParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
ParameterSpec for key generation for the Leighton-Micali Hash-Based Signature (LMS) scheme.
-
Constructor Summary
ConstructorsConstructorDescriptionLMSKeyGenParameterSpec
(LMSigParameters lmSigParams, LMOtsParameters lmOtsParameters) Base constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturn the key parameters to use for the underlying one-time signature keys.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.
-
getKeyParams
Return the key parameters to use for the underlying one-time signature keys.- Returns:
- the LM OTS parameters.
-