GetByRSALength Method
GetByRSALength(int)
Gets a key definition by its RSA key length.
C#
public static KeyDefinition GetByRSALength(int keySizeBits)
Parameters
Type | Name | Description |
---|---|---|
int | keySizeBits | The length of the RSA key in bits. |
Returns
The key definition for the specified RSA key length.
Exceptions
Type | Condition |
---|---|
NotSupportedException | When the RSA key length is not supported. |