48 references to CryptoConfig
Microsoft.Build.Tasks.Core (2)
ManifestUtil\mansign2.cs (2)
269
CryptoConfig
.AddAlgorithm(typeof(RSAPKCS1SHA256SignatureDescription),
276
CryptoConfig
.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)]
33
return (Aes?)
CryptoConfig
.CreateFromName(algorithmName);
System\Security\Cryptography\CapiHelper.Unix.cs (1)
31
string oidValue =
CryptoConfig
.MapNameToOID(nameOrOid) ?? nameOrOid;
System\Security\Cryptography\DES.cs (2)
31
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
34
return (DES?)
CryptoConfig
.CreateFromName(algName);
System\Security\Cryptography\DSA.cs (2)
31
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
34
return (DSA?)
CryptoConfig
.CreateFromName(algName);
System\Security\Cryptography\ECDiffieHellman.cs (2)
35
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
40
return
CryptoConfig
.CreateFromName(algorithm) as ECDiffieHellman;
System\Security\Cryptography\ECDsa.cs (2)
33
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
38
return
CryptoConfig
.CreateFromName(algorithm) as ECDsa;
System\Security\Cryptography\MD5.cs (2)
41
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
42
public 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)
29
using (HashAlgorithm? hasher =
CryptoConfig
.CreateFromName(_hashNameValue) as HashAlgorithm)
System\Security\Cryptography\RandomNumberGenerator.cs (2)
19
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
22
return (RandomNumberGenerator?)
CryptoConfig
.CreateFromName(rngName);
System\Security\Cryptography\RC2.cs (2)
32
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
35
return (RC2?)
CryptoConfig
.CreateFromName(AlgName);
System\Security\Cryptography\Rijndael.cs (2)
22
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
25
return (Rijndael?)
CryptoConfig
.CreateFromName(algName);
System\Security\Cryptography\RSA.cs (2)
22
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
25
return (RSA?)
CryptoConfig
.CreateFromName(algName);
System\Security\Cryptography\RSAPKCS1SignatureDeformatter.cs (1)
33
if (
CryptoConfig
.MapNameToOID(strName) != null)
System\Security\Cryptography\RSAPKCS1SignatureFormatter.cs (1)
34
if (
CryptoConfig
.MapNameToOID(strName) != null)
System\Security\Cryptography\SHA1.cs (2)
40
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
41
public static new SHA1? Create(string hashName) => (SHA1?)
CryptoConfig
.CreateFromName(hashName);
System\Security\Cryptography\SHA256.cs (2)
39
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
40
public static new SHA256? Create(string hashName) => (SHA256?)
CryptoConfig
.CreateFromName(hashName);
System\Security\Cryptography\SHA384.cs (2)
39
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
40
public static new SHA384? Create(string hashName) => (SHA384?)
CryptoConfig
.CreateFromName(hashName);
System\Security\Cryptography\SHA512.cs (2)
39
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
40
public static new SHA512? Create(string hashName) => (SHA512?)
CryptoConfig
.CreateFromName(hashName);
System\Security\Cryptography\SignatureDescription.cs (3)
32
AsymmetricSignatureDeformatter? item = (AsymmetricSignatureDeformatter?)
CryptoConfig
.CreateFromName(DeformatterAlgorithm!);
40
AsymmetricSignatureFormatter? item = (AsymmetricSignatureFormatter?)
CryptoConfig
.CreateFromName(FormatterAlgorithm!);
48
return (HashAlgorithm?)
CryptoConfig
.CreateFromName(DigestAlgorithm!);
System\Security\Cryptography\TripleDES.cs (2)
30
[RequiresUnreferencedCode(
CryptoConfig
.CreateFromNameUnreferencedCodeMessage)]
33
return (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)
74
return (
CryptoConfig
.CreateFromName(name) ?? CreateFromKnownName(name)) as T;
System\Security\Cryptography\Xml\DSASignatureDescription.cs (2)
25
var item = (AsymmetricSignatureDeformatter)
CryptoConfig
.CreateFromName(DeformatterAlgorithm!)!;
36
var item = (AsymmetricSignatureFormatter)
CryptoConfig
.CreateFromName(FormatterAlgorithm!)!;
System\Security\Cryptography\Xml\RSAPKCS1SignatureDescription.cs (2)
23
var item = (AsymmetricSignatureDeformatter)
CryptoConfig
.CreateFromName(DeformatterAlgorithm!)!;
34
var item = (AsymmetricSignatureFormatter)
CryptoConfig
.CreateFromName(FormatterAlgorithm!)!;