HashAlgorithmName.FromOid(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the specified OID to a hash algorithm name.
public:
static System::Security::Cryptography::HashAlgorithmName FromOid(System::String ^ oidValue);
public static System.Security.Cryptography.HashAlgorithmName FromOid (string oidValue);
static member FromOid : string -> System.Security.Cryptography.HashAlgorithmName
Public Shared Function FromOid (oidValue As String) As HashAlgorithmName
Parameters
- oidValue
- String
The OID of the hash algorithm.
Returns
The hash algorithm name identified by the OID.
Exceptions
oidValue
is null
.
oidValue
does not represent a known hash algorithm.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.