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