CompositeMLDsa.IsAlgorithmSupported(CompositeMLDsaAlgorithm) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified algorithm is supported by the current platform.
public:
static bool IsAlgorithmSupported(System::Security::Cryptography::CompositeMLDsaAlgorithm ^ algorithm);
public static bool IsAlgorithmSupported(System.Security.Cryptography.CompositeMLDsaAlgorithm algorithm);
static member IsAlgorithmSupported : System.Security.Cryptography.CompositeMLDsaAlgorithm -> bool
Public Shared Function IsAlgorithmSupported (algorithm As CompositeMLDsaAlgorithm) As Boolean
Parameters
- algorithm
- CompositeMLDsaAlgorithm
The CompositeMLDsaAlgorithm to check for support.
Returns
true if the algorithm is supported; otherwise, false.
Exceptions
algorithm is null.
Remarks
On Windows in .NET 11 and later, the native implementation supports MLDsa44WithECDsaP256, MLDsa65WithECDsaP256, MLDsa65WithECDsaP384, and MLDsa87WithECDsaP384. Use this method to check whether a specific algorithm is supported.