Mono Class Library: System.Security.Cryptography.CryptoConfig Overview | Members

System.Security.Cryptography.CryptoConfig.MapNameToOID Method

Return the name of the class that is mapped to the specified OID.

public static string MapNameToOID (string name)

Parameters

name
The algorithm name or class name (e.g. "SHA1").

Returns

The OID string in dotted notation (e.g. "1.3.14.3.2.26") for the specified algorithm.

Remarks

Default mapping can be modified, or added to, by modifying the machine.config file.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0