語言

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。

備註

在 Windows 的 .NET 11 及更新版本中,原生實作支援 MLDsa44WithECDsaP256、 MLDsa65WithECDsaP256、 MLDsa65WithECDsaP384和 MLDsa87WithECDsaP384。 使用此方法檢查是否支援特定演算法。

適用於