Class HssPublicKeyParameters
- Namespace
- Org.BouncyCastle.Pqc.Crypto.Lms
- Assembly
- BouncyCastle.Cryptography.dll
public sealed class HssPublicKeyParameters : LmsKeyParameters, ICipherParameters, IEncodable, ILmsContextBasedVerifier
- Inheritance
-
HssPublicKeyParameters
- Implements
- Inherited Members
Constructors
HssPublicKeyParameters(int, LmsPublicKeyParameters)
public HssPublicKeyParameters(int l, LmsPublicKeyParameters lmsPublicKey)
Parameters
lintlmsPublicKeyLmsPublicKeyParameters
Properties
L
[Obsolete("Use 'Level' instead")]
public int L { get; }
Property Value
Level
public int Level { get; }
Property Value
LmsPublicKey
public LmsPublicKeyParameters LmsPublicKey { get; }
Property Value
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object o)
Parameters
oobject
Returns
GenerateLmsContext(byte[])
public LmsContext GenerateLmsContext(byte[] sigEnc)
Parameters
sigEncbyte[]
Returns
GetEncoded()
Return a byte array representing the implementing object.
public override 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 HssPublicKeyParameters GetInstance(object src)
Parameters
srcobject
Returns
Verify(LmsContext)
public bool Verify(LmsContext context)
Parameters
contextLmsContext