Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Security.​Cryptography.​MLDsaAlgorithm

Assembly: System.Security.Cryptography

Inheritance: object → MLDsaAlgorithm

Implemented Interfaces

Represents a specific algorithm within the ML-DSA family.

Properties

public static MLDsaAlgorithm
MLDsa44
Gets an ML-DSA algorithm identifier for the ML-DSA-44 algorithm.
public static MLDsaAlgorithm
MLDsa65
Gets an ML-DSA algorithm identifier for the ML-DSA-65 algorithm.
public static MLDsaAlgorithm
MLDsa87
Gets an ML-DSA algorithm identifier for the ML-DSA-87 algorithm.
public int
MuSizeInBytes
Gets the size, in bytes, of the mu (μ) value for the current ML-DSA algorithm.
public string
Name
Gets the underlying string representation of the algorithm name.
public int
PrivateKeySizeInBytes
Gets the size, in bytes, of the ML-DSA private key for the current ML-DSA algorithm.
public int
PrivateSeedSizeInBytes
Gets the size, in bytes, of the ML-DSA private seed for the current ML-DSA algorithm.
public int
PublicKeySizeInBytes
Gets the size of the ML-DSA public key for the current ML-DSA algorithm.
public int
SignatureSizeInBytes
Gets the size, in bytes, of the signature for the current ML-DSA algorithm.

Methods

public bool
Equals​(object obj)
Determines whether the specified object is equal to the current object.
Returns <code data-dev-comment-type="langword">true</code> if the specified object is equal to the current object; otherwise, <code data-dev-comment-type="langword">false</code> .
obj The object to compare with the current object.
public bool
Equals​(MLDsaAlgorithm other)
Compares two <see cref="T:System.Security.Cryptography.MLDsaAlgorithm" /> objects.
Returns <see langword="true" /> if the objects are considered equal; otherwise, <see langword="false" /> .
other An object to be compared to the current <see cref="T:System.Security.Cryptography.MLDsaAlgorithm" /> object.
public int
GetHashCode​()
Serves as the default hash function.
Returns A hash code for the current object.
public string
ToString​()
Returns a string that represents the current object.
Returns A string that represents the current object.
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object