Table of Contents

Class LmsSignature

Namespace
Org.BouncyCastle.Pqc.Crypto.Lms
Assembly
BouncyCastle.Cryptography.dll
public class LmsSignature : IEncodable
Inheritance
LmsSignature
Implements
Inherited Members

Constructors

LmsSignature(int, LMOtsSignature, LMSigParameters, byte[][])

public LmsSignature(int q, LMOtsSignature otsSignature, LMSigParameters parameter, byte[][] y)

Parameters

q int
otsSignature LMOtsSignature
parameter LMSigParameters
y byte[][]

Properties

OtsSignature

public LMOtsSignature OtsSignature { get; }

Property Value

LMOtsSignature

Q

public int Q { get; }

Property Value

int

SigParameters

public LMSigParameters SigParameters { get; }

Property Value

LMSigParameters

Y

public byte[][] Y { get; }

Property Value

byte[][]

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object o)

Parameters

o object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetEncoded()

Return a byte array representing the implementing object.

public byte[] GetEncoded()

Returns

byte[]

An encoding of this object as a byte array.

Exceptions

IOException

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetInstance(object)

public static LmsSignature GetInstance(object src)

Parameters

src object

Returns

LmsSignature