Edit

Share via


RsaSecurityKey.IsSupportedAlgorithm(String) Method

Definition

Gets a value that indicates whether the specified algorithm is supported by this class.

public:
 override bool IsSupportedAlgorithm(System::String ^ algorithm);
public override bool IsSupportedAlgorithm (string algorithm);
override this.IsSupportedAlgorithm : string -> bool
Public Overrides Function IsSupportedAlgorithm (algorithm As String) As Boolean

Parameters

algorithm
String

The cryptographic algorithm.

Returns

true when the specified algorithm is RsaV15KeyWrap, RsaOaepKeyWrap, or RsaSha1Signature; otherwise, false.

Applies to