Table of Contents

Class LMOtsSignature

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

Constructors

LMOtsSignature(LMOtsParameters, byte[], byte[])

public LMOtsSignature(LMOtsParameters paramType, byte[] c, byte[] y)

Parameters

paramType LMOtsParameters
c byte[]
y byte[]

Properties

C

[Obsolete("Use 'GetC' instead")]
public byte[] C { get; }

Property Value

byte[]

ParamType

public LMOtsParameters ParamType { get; }

Property Value

LMOtsParameters

Y

[Obsolete("Use 'GetY' instead")]
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 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.

GetC()

public byte[] GetC()

Returns

byte[]

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 LMOtsSignature GetInstance(object src)

Parameters

src object

Returns

LMOtsSignature

GetY()

public byte[] GetY()

Returns

byte[]