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
paramTypeLMOtsParameterscbyte[]ybyte[]
Properties
C
[Obsolete("Use 'GetC' instead")]
public byte[] C { get; }
Property Value
- byte[]
ParamType
public LMOtsParameters ParamType { get; }
Property Value
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
objobjectThe object to compare with the current object.
Returns
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
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
srcobject
Returns
GetY()
public byte[] GetY()
Returns
- byte[]