SecurityAlgorithmSuite.IsEncryptionAlgorithmSupported(String) Method

Definition

Indicates whether an encryption algorithm is supported.

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

Parameters

algorithm
String

The algorithm name to check.

Returns

true if the encryption algorithm is supported; otherwise, false.

Remarks

algorithm gets compared to the string returned from DefaultEncryptionAlgorithm.

Applies to