Table of Contents

Class HssSignature

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

Constructors

HssSignature(int, LmsSignedPubKey[], LmsSignature)

public HssSignature(int lMinus1, LmsSignedPubKey[] signedPubKey, LmsSignature signature)

Parameters

lMinus1 int
signedPubKey LmsSignedPubKey[]
signature LmsSignature

Properties

LMinus1

public int LMinus1 { get; }

Property Value

int

Signature

public LmsSignature Signature { get; }

Property Value

LmsSignature

Methods

Equals(object)

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

public override bool Equals(object other)

Parameters

other 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, int)

public static HssSignature GetInstance(object src, int L)

Parameters

src object
L int

Returns

HssSignature

GetLMinus1()

[Obsolete("Use 'LMinus1' instead")]
public int GetLMinus1()

Returns

int

GetSignedPubKeys()

public LmsSignedPubKey[] GetSignedPubKeys()

Returns

LmsSignedPubKey[]