RsaSecurityKey.IsAsymmetricAlgorithm Method (String)

 

Gets a value that indicates whether the specified algorithm uses asymmetric keys.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public override bool IsAsymmetricAlgorithm(
	string algorithm
)

Parameters

algorithm
Type: System.String

The cryptographic algorithm.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 3.0
Return to top
Show: