SecurityKey.IsAsymmetricAlgorithm(String) Method

Definition

When overridden in a derived class, gets a value that indicates whether the specified algorithm uses asymmetric keys.

public:
 abstract bool IsAsymmetricAlgorithm(System::String ^ algorithm);
public abstract bool IsAsymmetricAlgorithm (string algorithm);
abstract member IsAsymmetricAlgorithm : string -> bool
Public MustOverride Function IsAsymmetricAlgorithm (algorithm As String) As Boolean

Parameters

algorithm
String

The cryptographic algorithm.

Returns

Boolean

true when the specified algorithm uses asymmetric keys; otherwise, false.

Remarks

Use the static fields of the SecurityAlgorithms class to specify the algorithm.

Applies to