Class LmsSignature
- Namespace
- Org.BouncyCastle.Pqc.Crypto.Lms
- Assembly
- BouncyCastle.Cryptography.dll
public class LmsSignature : IEncodable
- Inheritance
-
LmsSignature
- Implements
- Inherited Members
Constructors
LmsSignature(int, LMOtsSignature, LMSigParameters, byte[][])
public LmsSignature(int q, LMOtsSignature otsSignature, LMSigParameters parameter, byte[][] y)
Parameters
qintotsSignatureLMOtsSignatureparameterLMSigParametersybyte[][]
Properties
OtsSignature
public LMOtsSignature OtsSignature { get; }
Property Value
Q
public int Q { get; }
Property Value
SigParameters
public LMSigParameters SigParameters { get; }
Property Value
Y
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 o)
Parameters
oobject
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.
GetInstance(object)
public static LmsSignature GetInstance(object src)
Parameters
srcobject