Class 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 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.