Package org.bouncycastle.pqc.jcajce.spec
Class LMSKeyGenParameterSpec
- java.lang.Object
-
- org.bouncycastle.pqc.jcajce.spec.LMSKeyGenParameterSpec
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
public class LMSKeyGenParameterSpec extends java.lang.Object implements java.security.spec.AlgorithmParameterSpec
ParameterSpec for the Leighton-Micali Hash-Based Signature (LMS) scheme.
-
-
Constructor Summary
Constructors Constructor Description LMSKeyGenParameterSpec(LMSigParameters lmSigParams, LMOtsParameters lmOtsParameters)
Base constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LMOtsParameters
getOtsParams()
Return the LM OTS parameters to use for the underlying one-time signature keys.LMSigParameters
getSigParams()
Return the LMS system signature parameters.
-
-
-
Constructor Detail
-
LMSKeyGenParameterSpec
public LMSKeyGenParameterSpec(LMSigParameters lmSigParams, LMOtsParameters lmOtsParameters)
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 Detail
-
getSigParams
public LMSigParameters getSigParams()
Return the LMS system signature parameters.- Returns:
- the LMS system signature parameters.
-
getOtsParams
public LMOtsParameters getOtsParams()
Return the LM OTS parameters to use for the underlying one-time signature keys.- Returns:
- the LM OTS parameters.
-
-