Table of Contents

Class LMOtsPublicKey

Namespace
Org.BouncyCastle.Pqc.Crypto.Lms
Assembly
BouncyCastle.Cryptography.dll
public sealed class LMOtsPublicKey
Inheritance
LMOtsPublicKey
Inherited Members

Constructors

LMOtsPublicKey(LMOtsParameters, byte[], int, byte[])

public LMOtsPublicKey(LMOtsParameters parameters, byte[] i, int q, byte[] k)

Parameters

parameters LMOtsParameters
i byte[]
q int
k byte[]

Properties

I

[Obsolete("Use 'GetI' instead")]
public byte[] I { get; }

Property Value

byte[]

K

[Obsolete("Use 'GetK' instead")]
public byte[] K { get; }

Property Value

byte[]

Parameters

public LMOtsParameters Parameters { get; }

Property Value

LMOtsParameters

Q

public int Q { get; }

Property Value

int

Methods

Equals(object)

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

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

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

GetEncoded()

public byte[] GetEncoded()

Returns

byte[]

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetI()

public byte[] GetI()

Returns

byte[]

GetInstance(object)

public static LMOtsPublicKey GetInstance(object src)

Parameters

src object

Returns

LMOtsPublicKey

GetK()

public byte[] GetK()

Returns

byte[]