Table of Contents

Class HssPublicKeyParameters

Namespace
Org.BouncyCastle.Pqc.Crypto.Lms
Assembly
BouncyCastle.Cryptography.dll
public sealed class HssPublicKeyParameters : LmsKeyParameters, ICipherParameters, IEncodable, ILmsContextBasedVerifier
Inheritance
HssPublicKeyParameters
Implements
Inherited Members

Constructors

HssPublicKeyParameters(int, LmsPublicKeyParameters)

public HssPublicKeyParameters(int l, LmsPublicKeyParameters lmsPublicKey)

Parameters

l int
lmsPublicKey LmsPublicKeyParameters

Properties

L

[Obsolete("Use 'Level' instead")]
public int L { get; }

Property Value

int

Level

public int Level { get; }

Property Value

int

LmsPublicKey

public LmsPublicKeyParameters LmsPublicKey { get; }

Property Value

LmsPublicKeyParameters

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.

GenerateLmsContext(byte[])

public LmsContext GenerateLmsContext(byte[] sigEnc)

Parameters

sigEnc byte[]

Returns

LmsContext

GetEncoded()

Return a byte array representing the implementing object.

public override 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 HssPublicKeyParameters GetInstance(object src)

Parameters

src object

Returns

HssPublicKeyParameters

Verify(LmsContext)

public bool Verify(LmsContext context)

Parameters

context LmsContext

Returns

bool