AsymmetricKeyAlgorithm.IsSupported Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9083)
IsSupported(AsymmetricKeyAlgorithmId, String, Int32)
Returns a value indicating whether the specified algorithm is supported.
Declaration
public static bool IsSupported(AsymmetricKeyAlgorithmId algorithm, string curve, int keySize)
Parameters
Type | Name | Description |
---|---|---|
AsymmetricKeyAlgorithmId | algorithm | Asymmetric algorithm. |
String | curve | Curve name or OID (if needed). |
Int32 | keySize | Key size (specify 0 to indicate default key size). |
Returns
Type | Description |
---|---|
Boolean | True if supported; false if not supported. |