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
ConstructorsConstructorDescriptionLMSKeyGenParameterSpec(LMSigParameters lmSigParams, LMOtsParameters lmOtsParameters) Base constructor.LMSKeyGenParameterSpec(LMSigParameters lmSigParams, LMOtsParameters lmOtsParameters) Deprecated.use the constructor taking the org.bouncycastle.crypto.params types. -
Method Summary
Modifier and TypeMethodDescriptionstatic LMSKeyGenParameterSpecReturn the LM OTS parameters to use for the underlying one-time signature keys.Return the LMS system signature parameters.Deprecated.use getLMOtsParameters().Deprecated.use getLMSigParameters().
-
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.
-
LMSKeyGenParameterSpec
@Deprecated public LMSKeyGenParameterSpec(LMSigParameters lmSigParams, LMOtsParameters lmOtsParameters) Deprecated.use the constructor taking the org.bouncycastle.crypto.params types.Base constructor taking the deprecated org.bouncycastle.pqc.crypto.lms parameter types.- 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
-
getLMSigParameters
Return the LMS system signature parameters.- Returns:
- the LMS system signature parameters.
-
getSigParams
Deprecated.use getLMSigParameters().Return the LMS system signature parameters as the deprecated org.bouncycastle.pqc.crypto.lms type.- Returns:
- the LMS system signature parameters.
-
getLMOtsParameters
Return the LM OTS parameters to use for the underlying one-time signature keys.- Returns:
- the LM OTS parameters.
-
getOtsParams
Deprecated.use getLMOtsParameters().Return the LM OTS parameters as the deprecated org.bouncycastle.pqc.crypto.lms type.- Returns:
- the LM OTS parameters.
-
fromNames
-