Table of Contents

Class LmsSignedPubKey

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

Constructors

LmsSignedPubKey(LmsSignature, LmsPublicKeyParameters)

public LmsSignedPubKey(LmsSignature signature, LmsPublicKeyParameters publicKey)

Parameters

signature LmsSignature
publicKey LmsPublicKeyParameters

Properties

PublicKey

public LmsPublicKeyParameters PublicKey { get; }

Property Value

LmsPublicKeyParameters

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 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()

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.

GetPublicKey()

[Obsolete("Use 'PublicKey' instead")]
public LmsPublicKeyParameters GetPublicKey()

Returns

LmsPublicKeyParameters

GetSignature()

[Obsolete("Use 'Signature' instead")]
public LmsSignature GetSignature()

Returns

LmsSignature