<PackageReference Include="BouncyCastle.Cryptography" Version="2.8.0-beta.349" />

Org.BouncyCastle.Pqc.Crypto.Lms.LmsPrivateKeyParameters

public int IndexLimit { get; }

public LmsParameters LmsParameters { get; }

The pair of parameter sets this key was built with, which travel together.

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

An LMS private key positioned at one-time key q of the tree named by I (RFC 8554 sec. 5.2, Algorithm 5).

public static LmsPrivateKeyParameters GetInstance(byte[] privEnc, byte[] pubEnc)

public static LmsPrivateKeyParameters GetInstance(object src)

public byte[] GenerateSignature(LmsContext context)

public byte[] GetI()

public int GetIndex()

Return the private key index number (the q value).

public byte[] GetMasterSecret()

The public key of this tree, derived on first use and kept thereafter.

public long GetUsagesRemaining()