System.Security.Cryptography.CryptoConfig.AddOID Method

Adds a set of names to object identifier (OID) mappings to be used for the current application domain.

Syntax

public static void AddOID (string oid, params string[] names)

Parameters

oid
The object identifier (OID) to map to.
names
An array of names to map to the OID.

Remarks

The specified mappings take precedence over the built-in mappings and the mappings in the machine.config file. The mappings are used to prevent partially trust code from using trusted cryptographic operations.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0