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
signatureLmsSignaturepublicKeyLmsPublicKeyParameters
Properties
PublicKey
public LmsPublicKeyParameters PublicKey { get; }
Property Value
Signature
public LmsSignature Signature { get; }
Property Value
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetEncoded()
Return a byte array representing the implementing object.
public byte[] GetEncoded()
Returns
- byte[]
An encoding of this object as a byte array.
Exceptions
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
GetSignature()
[Obsolete("Use 'Signature' instead")]
public LmsSignature GetSignature()