25 references to CreateFromName
System.Security.Cryptography (20)
System\Security\Cryptography\Aes.cs (1)
33return (Aes?)CryptoConfig.CreateFromName(algorithmName);
System\Security\Cryptography\DES.cs (1)
34return (DES?)CryptoConfig.CreateFromName(algName);
System\Security\Cryptography\DSA.cs (1)
34return (DSA?)CryptoConfig.CreateFromName(algName);
System\Security\Cryptography\ECDiffieHellman.cs (1)
40return CryptoConfig.CreateFromName(algorithm) as ECDiffieHellman;
System\Security\Cryptography\ECDsa.cs (1)
38return CryptoConfig.CreateFromName(algorithm) as ECDsa;
System\Security\Cryptography\MD5.cs (1)
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 (1)
22return (RandomNumberGenerator?)CryptoConfig.CreateFromName(rngName);
System\Security\Cryptography\RC2.cs (1)
35return (RC2?)CryptoConfig.CreateFromName(AlgName);
System\Security\Cryptography\Rijndael.cs (1)
25return (Rijndael?)CryptoConfig.CreateFromName(algName);
System\Security\Cryptography\RSA.cs (1)
25return (RSA?)CryptoConfig.CreateFromName(algName);
System\Security\Cryptography\SHA1.cs (1)
41public static new SHA1? Create(string hashName) => (SHA1?)CryptoConfig.CreateFromName(hashName);
System\Security\Cryptography\SHA256.cs (1)
40public static new SHA256? Create(string hashName) => (SHA256?)CryptoConfig.CreateFromName(hashName);
System\Security\Cryptography\SHA384.cs (1)
40public static new SHA384? Create(string hashName) => (SHA384?)CryptoConfig.CreateFromName(hashName);
System\Security\Cryptography\SHA512.cs (1)
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 (1)
33return (TripleDES?)CryptoConfig.CreateFromName(str);
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!)!;