14 instantiations of CngAlgorithm
System.Security.Cryptography (14)
System\Security\Cryptography\CngAlgorithm.cs (14)
92return s_rsa ??= new CngAlgorithm("RSA"); // BCRYPT_RSA_ALGORITHM 100return s_ecdh ??= new CngAlgorithm("ECDH"); // BCRYPT_ECDH_ALGORITHM 108return s_ecdhp256 ??= new CngAlgorithm("ECDH_P256"); // BCRYPT_ECDH_P256_ALGORITHM 116return s_ecdhp384 ??= new CngAlgorithm("ECDH_P384"); // BCRYPT_ECDH_P384_ALGORITHM 124return s_ecdhp521 ??= new CngAlgorithm("ECDH_P521"); // BCRYPT_ECDH_P521_ALGORITHM 132return s_ecdsa ??= new CngAlgorithm("ECDSA"); // BCRYPT_ECDSA_ALGORITHM 140return s_ecdsap256 ??= new CngAlgorithm("ECDSA_P256"); // BCRYPT_ECDSA_P256_ALGORITHM 148return s_ecdsap384 ??= new CngAlgorithm("ECDSA_P384"); // BCRYPT_ECDSA_P384_ALGORITHM 156return s_ecdsap521 ??= new CngAlgorithm("ECDSA_P521"); // BCRYPT_ECDSA_P521_ALGORITHM 164return s_md5 ??= new CngAlgorithm("MD5"); // BCRYPT_MD5_ALGORITHM 172return s_sha1 ??= new CngAlgorithm("SHA1"); // BCRYPT_SHA1_ALGORITHM 180return s_sha256 ??= new CngAlgorithm("SHA256"); // BCRYPT_SHA256_ALGORITHM 188return s_sha384 ??= new CngAlgorithm("SHA384"); // BCRYPT_SHA384_ALGORITHM 196return s_sha512 ??= new CngAlgorithm("SHA512"); // BCRYPT_SHA512_ALGORITHM
43 references to CngAlgorithm
System.Core (1)
System.Core.cs (1)
200[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CngAlgorithm))]
System.Security.Cryptography (41)
System\Security\Cryptography\Cng.NotSupported.cs (6)
104public CngAlgorithm Algorithm => null!; 126public static CngKey Create(CngAlgorithm algorithm) 132public static CngKey Create(CngAlgorithm algorithm, string? keyName) 138public static CngKey Create(CngAlgorithm algorithm, string? keyName, CngKeyCreationParameters? creationParameters) 249public CngAlgorithm HashAlgorithm { get => null!; set { } } 318public CngAlgorithm HashAlgorithm { get => null!; set { } }
System\Security\Cryptography\CngAlgorithm.cs (35)
16public sealed class CngAlgorithm : IEquatable<CngAlgorithm> 35public static bool operator ==(CngAlgorithm? left, CngAlgorithm? right) 45public static bool operator !=(CngAlgorithm? left, CngAlgorithm? right) 59return Equals(obj as CngAlgorithm); 62public bool Equals([NotNullWhen(true)] CngAlgorithm? other) 88public static CngAlgorithm Rsa 96public static CngAlgorithm ECDiffieHellman 104public static CngAlgorithm ECDiffieHellmanP256 112public static CngAlgorithm ECDiffieHellmanP384 120public static CngAlgorithm ECDiffieHellmanP521 128public static CngAlgorithm ECDsa 136public static CngAlgorithm ECDsaP256 144public static CngAlgorithm ECDsaP384 152public static CngAlgorithm ECDsaP521 160public static CngAlgorithm MD5 168public static CngAlgorithm Sha1 176public static CngAlgorithm Sha256 184public static CngAlgorithm Sha384 192public static CngAlgorithm Sha512 200private static CngAlgorithm? s_ecdh; 201private static CngAlgorithm? s_ecdhp256; 202private static CngAlgorithm? s_ecdhp384; 203private static CngAlgorithm? s_ecdhp521; 204private static CngAlgorithm? s_ecdsa; 205private static CngAlgorithm? s_ecdsap256; 206private static CngAlgorithm? s_ecdsap384; 207private static CngAlgorithm? s_ecdsap521; 208private static CngAlgorithm? s_md5; 209private static CngAlgorithm? s_sha1; 210private static CngAlgorithm? s_sha256; 211private static CngAlgorithm? s_sha384; 212private static CngAlgorithm? s_sha512; 213private static CngAlgorithm? s_rsa;
System.Security.Cryptography.Cng (1)
System.Security.Cryptography.Cng.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CngAlgorithm))]