Class LMSPrivateKeyParameters

All Implemented Interfaces:
Destroyable, CipherParameters, LMSContextBasedSigner, Encodable

public class LMSPrivateKeyParameters extends LMSKeyParameters implements LMSContextBasedSigner, Destroyable
  • Constructor Details

    • LMSPrivateKeyParameters

      public LMSPrivateKeyParameters(LMSigParameters lmsParameter, LMOtsParameters otsParameters, int q, byte[] I, int maxQ, byte[] masterSecret)
    • LMSPrivateKeyParameters

      protected LMSPrivateKeyParameters(LMSigParameters lmsParameter, LMOtsParameters otsParameters, int maxQ)
      A key with no position, identifier or seed of its own - the placeholder an HSS hierarchy is built with for the levels below the root, each of which resetKeyToIndex replaces from the level above before the key is used. The sentinel values are deliberately ones the public constructor refuses, so a placeholder can never be mistaken for a key that was merely built carelessly; a subclass using this must not present the result as a usable key.
  • Method Details