Method Convert
Convert(Oid)
Converts the given OID to a System.Security.Cryptography.HashAlgorithmName.
Declaration
public static HashAlgorithmName? Convert(Oid oid)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Security.Cryptography.Oid | oid | The OID to convert. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.Security.Cryptography.HashAlgorithmName> | The algorithm or null in case of error. |
Convert(String)
Converts the given OID to a System.Security.Cryptography.HashAlgorithmName.
Declaration
public static HashAlgorithmName? Convert(string oid)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | oid |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.Security.Cryptography.HashAlgorithmName> | The algorithm or null in case of error. |