语言

CompositeMLDsa.IsAlgorithmSupported(CompositeMLDsaAlgorithm) 方法

定义

确定当前平台是否支持指定的算法。

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

参数

algorithm
CompositeMLDsaAlgorithm

检查 CompositeMLDsaAlgorithm 是否支持。

返回

true 如果支持算法,则为 ;否则,为 false.

例外

algorithm 是 null。

注解

在 .NET 11 及更高版本中Windows,本机实现支持MLDsa44WithECDsaP256、MLDsa65WithECDsaP256MLDsa65WithECDsaP384和MLDsa87WithECDsaP384。 使用此方法检查是否支持特定算法。

适用于