48 references to CryptoConfig
Microsoft.Build.Tasks.Core (2)
ManifestUtil\mansign2.cs (2)
269CryptoConfig.AddAlgorithm(typeof(RSAPKCS1SHA256SignatureDescription), 276CryptoConfig.AddAlgorithm(typeof(SHA256Managed),
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
864[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CryptoConfig))]
netstandard (1)
netstandard.cs (1)
1854[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CryptoConfig))]
System.Security.Cryptography (38)
System\Security\Cryptography\Aes.cs (2)
30[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 33return (Aes?)CryptoConfig.CreateFromName(algorithmName);
System\Security\Cryptography\CapiHelper.Unix.cs (1)
31string oidValue = CryptoConfig.MapNameToOID(nameOrOid) ?? nameOrOid;
System\Security\Cryptography\DES.cs (2)
31[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 34return (DES?)CryptoConfig.CreateFromName(algName);
System\Security\Cryptography\DSA.cs (2)
31[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 34return (DSA?)CryptoConfig.CreateFromName(algName);
System\Security\Cryptography\ECDiffieHellman.cs (2)
35[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 40return CryptoConfig.CreateFromName(algorithm) as ECDiffieHellman;
System\Security\Cryptography\ECDsa.cs (2)
33[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 38return CryptoConfig.CreateFromName(algorithm) as ECDsa;
System\Security\Cryptography\MD5.cs (2)
41[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 42public static new MD5? Create(string algName) => (MD5?)CryptoConfig.CreateFromName(algName);
System\Security\Cryptography\PasswordDeriveBytes.cs (1)
80_hash = (HashAlgorithm?)CryptoConfig.CreateFromName(_hashName);
System\Security\Cryptography\PKCS1MaskGenerationMethod.cs (1)
29using (HashAlgorithm? hasher = CryptoConfig.CreateFromName(_hashNameValue) as HashAlgorithm)
System\Security\Cryptography\RandomNumberGenerator.cs (2)
19[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 22return (RandomNumberGenerator?)CryptoConfig.CreateFromName(rngName);
System\Security\Cryptography\RC2.cs (2)
32[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 35return (RC2?)CryptoConfig.CreateFromName(AlgName);
System\Security\Cryptography\Rijndael.cs (2)
22[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 25return (Rijndael?)CryptoConfig.CreateFromName(algName);
System\Security\Cryptography\RSA.cs (2)
22[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 25return (RSA?)CryptoConfig.CreateFromName(algName);
System\Security\Cryptography\RSAPKCS1SignatureDeformatter.cs (1)
33if (CryptoConfig.MapNameToOID(strName) != null)
System\Security\Cryptography\RSAPKCS1SignatureFormatter.cs (1)
34if (CryptoConfig.MapNameToOID(strName) != null)
System\Security\Cryptography\SHA1.cs (2)
40[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 41public static new SHA1? Create(string hashName) => (SHA1?)CryptoConfig.CreateFromName(hashName);
System\Security\Cryptography\SHA256.cs (2)
39[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 40public static new SHA256? Create(string hashName) => (SHA256?)CryptoConfig.CreateFromName(hashName);
System\Security\Cryptography\SHA384.cs (2)
39[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 40public static new SHA384? Create(string hashName) => (SHA384?)CryptoConfig.CreateFromName(hashName);
System\Security\Cryptography\SHA512.cs (2)
39[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 40public static new SHA512? Create(string hashName) => (SHA512?)CryptoConfig.CreateFromName(hashName);
System\Security\Cryptography\SignatureDescription.cs (3)
32AsymmetricSignatureDeformatter? item = (AsymmetricSignatureDeformatter?)CryptoConfig.CreateFromName(DeformatterAlgorithm!); 40AsymmetricSignatureFormatter? item = (AsymmetricSignatureFormatter?)CryptoConfig.CreateFromName(FormatterAlgorithm!); 48return (HashAlgorithm?)CryptoConfig.CreateFromName(DigestAlgorithm!);
System\Security\Cryptography\TripleDES.cs (2)
30[RequiresUnreferencedCode(CryptoConfig.CreateFromNameUnreferencedCodeMessage)] 33return (TripleDES?)CryptoConfig.CreateFromName(str);
System.Security.Cryptography.Algorithms (1)
System.Security.Cryptography.Algorithms.cs (1)
13[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CryptoConfig))]
System.Security.Cryptography.Xml (5)
System\Security\Cryptography\Xml\CryptoHelpers.cs (1)
74return (CryptoConfig.CreateFromName(name) ?? CreateFromKnownName(name)) as T;
System\Security\Cryptography\Xml\DSASignatureDescription.cs (2)
25var item = (AsymmetricSignatureDeformatter)CryptoConfig.CreateFromName(DeformatterAlgorithm!)!; 36var item = (AsymmetricSignatureFormatter)CryptoConfig.CreateFromName(FormatterAlgorithm!)!;
System\Security\Cryptography\Xml\RSAPKCS1SignatureDescription.cs (2)
23var item = (AsymmetricSignatureDeformatter)CryptoConfig.CreateFromName(DeformatterAlgorithm!)!; 34var item = (AsymmetricSignatureFormatter)CryptoConfig.CreateFromName(FormatterAlgorithm!)!;