CompositeMLDsa.IsAlgorithmSupported(CompositeMLDsaAlgorithm) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定当前平台是否支持指定的算法。
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。 使用此方法检查是否支持特定算法。