Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AddOID()

static void System.Security.Cryptography.CryptoConfig.AddOID ( string oid,
params string[] names )
inlinestatic

Definition at line 311 of file CryptoConfig.cs.

312 {
313 if (oid == null)
314 {
315 throw new ArgumentNullException("oid");
316 }
317 if (names == null)
318 {
319 throw new ArgumentNullException("names");
320 }
321 string[] array = new string[names.Length];
322 Array.Copy(names, array, array.Length);
323 string[] array2 = array;
324 foreach (string value in array2)
325 {
326 if (string.IsNullOrEmpty(value))
327 {
329 }
330 }
331 string[] array3 = array;
332 foreach (string key in array3)
333 {
334 appOidHT[key] = oid;
335 }
336 }
static string Cryptography_AddNullOrEmptyName
Definition SR.cs:168
Definition SR.cs:7
static readonly ConcurrentDictionary< string, string > appOidHT

References System.Security.Cryptography.CryptoConfig.appOidHT, System.array, System.Array.Copy(), System.SR.Cryptography_AddNullOrEmptyName, System.key, and System.value.