SecurityAlgorithmSuite.IsDigestAlgorithmSupported(String) 方法

定义

指示是否支持摘要算法。Indicates whether a digest algorithm is supported.

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

要检查的算法名称。The algorithm name to check.

返回

Boolean

如果支持摘要算法,则为 true;否则为 falsetrue if the digest algorithm is supported; otherwise, false.

注解

algorithm 与从 DefaultDigestAlgorithm 返回的字符串进行比较。algorithm gets compared to the string returned from DefaultDigestAlgorithm.

适用于