Share via


SecurityAlgorithmSuite.IsEncryptionAlgorithmSupported(String) 方法

定義

指出是否支援加密演算法。

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

參數

algorithm
String

要檢查的演算法名稱。

傳回

如果支援加密演算法,則為 true,否則為 false

備註

algorithm 會與 DefaultEncryptionAlgorithm 傳回的字串進行比較。

適用於