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
Represents a specific algorithm within the ML-DSA family.
Properties
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)
obj
The object to compare with 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> .
Determines whether the specified object is equal to the current object.
public
bool
Equals​(MLDsaAlgorithm other)
other
An object to be compared to the current <see cref="T:System.Security.Cryptography.MLDsaAlgorithm" /> object.
Returns <see langword="true" /> if the objects are considered equal; otherwise, <see langword="false" /> .
Compares two <see cref="T:System.Security.Cryptography.MLDsaAlgorithm" /> objects.
public
int
GetHashCode​() Returns A hash code for the current object.
Serves as the default hash function.
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
protected
object
MemberwiseClone​()
Inherited from object