SecurityAlgorithmSuite.IsDigestAlgorithmSupported(String) 方法

定义

指示是否支持摘要算法。

public:
 virtual bool IsDigestAlgorithmSupported(System::String ^ algorithm);
public virtual bool IsDigestAlgorithmSupported (string algorithm);
abstract member IsDigestAlgorithmSupported : string -> bool
override this.IsDigestAlgorithmSupported : string -> bool
Public Overridable Function IsDigestAlgorithmSupported (algorithm As String) As Boolean

参数

algorithm
String

要检查的算法名称。

返回

Boolean

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

注解

algorithm 与从 DefaultDigestAlgorithm 返回的字符串进行比较。

适用于