<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-preview.6.26359.118" />

System.Security.Cryptography.MLDsaAlgorithm

public sealed class MLDsaAlgorithm : IEquatable<MLDsaAlgorithm>
Represents a specific algorithm within the ML-DSA family.
public static MLDsaAlgorithm MLDsa44 { get; }

Gets an ML-DSA algorithm identifier for the ML-DSA-44 algorithm.

public static MLDsaAlgorithm MLDsa65 { get; }

Gets an ML-DSA algorithm identifier for the ML-DSA-65 algorithm.

public static MLDsaAlgorithm MLDsa87 { get; }

Gets an ML-DSA algorithm identifier for the ML-DSA-87 algorithm.

public int MuSizeInBytes { get; }

Gets the size, in bytes, of the mu (μ) value for the current ML-DSA algorithm.

public string Name { get; }

Gets the underlying string representation of the algorithm name.

public int PrivateKeySizeInBytes { get; }

Gets the size, in bytes, of the ML-DSA private key for the current ML-DSA algorithm.

public int PrivateSeedSizeInBytes { get; }

Gets the size, in bytes, of the ML-DSA private seed for the current ML-DSA algorithm.

public int PublicKeySizeInBytes { get; }

Gets the size of the ML-DSA public key for the current ML-DSA algorithm.

public int SignatureSizeInBytes { get; }

Gets the size, in bytes, of the signature for the current ML-DSA algorithm.

public static bool op_Equality(MLDsaAlgorithm left, MLDsaAlgorithm right)

Determines whether two MLDsaAlgorithm objects specify the same algorithm name.

public static bool op_Inequality(MLDsaAlgorithm left, MLDsaAlgorithm right)

Determines whether two MLDsaAlgorithm objects do not specify the same algorithm name.

public bool Equals(MLDsaAlgorithm other)

Compares two MLDsaAlgorithm objects.