19 references to CngAlgorithm
System.Core (19)
System\Security\Cryptography\CngAlgorithm.cs (14)
109
s_rsa = new
CngAlgorithm
(BCryptNative.AlgorithmName.Rsa);
120
s_ecdh = new
CngAlgorithm
(BCryptNative.AlgorithmName.ECDH);
132
s_ecdhp256 = new
CngAlgorithm
(BCryptNative.AlgorithmName.ECDHP256);
144
s_ecdhp384 = new
CngAlgorithm
(BCryptNative.AlgorithmName.ECDHP384);
156
s_ecdhp521 = new
CngAlgorithm
(BCryptNative.AlgorithmName.ECDHP521);
168
s_ecdsa = new
CngAlgorithm
(BCryptNative.AlgorithmName.ECDsa);
180
s_ecdsap256 = new
CngAlgorithm
(BCryptNative.AlgorithmName.ECDsaP256);
192
s_ecdsap384 = new
CngAlgorithm
(BCryptNative.AlgorithmName.ECDsaP384);
204
s_ecdsap521 = new
CngAlgorithm
(BCryptNative.AlgorithmName.ECDsaP521);
216
s_md5 = new
CngAlgorithm
(BCryptNative.AlgorithmName.MD5);
228
s_sha1 = new
CngAlgorithm
(BCryptNative.AlgorithmName.Sha1);
240
s_sha256 = new
CngAlgorithm
(BCryptNative.AlgorithmName.Sha256);
252
s_sha384 = new
CngAlgorithm
(BCryptNative.AlgorithmName.Sha384);
264
s_sha512 = new
CngAlgorithm
(BCryptNative.AlgorithmName.Sha512);
System\Security\Cryptography\CngKey.cs (1)
83
return new
CngAlgorithm
(algorithm);
System\Security\Cryptography\ECDsaCng.cs (2)
453
using (BCryptHashAlgorithm hasher = new BCryptHashAlgorithm(new
CngAlgorithm
(hashAlgorithm.Name), BCryptNative.ProviderName.MicrosoftPrimitiveProvider)) {
464
using (BCryptHashAlgorithm hasher = new BCryptHashAlgorithm(new
CngAlgorithm
(hashAlgorithm.Name), BCryptNative.ProviderName.MicrosoftPrimitiveProvider)) {
System\Security\Cryptography\RsaCng.cs (2)
168
using (BCryptHashAlgorithm hasher = new BCryptHashAlgorithm(new
CngAlgorithm
(hashAlgorithm.Name), BCryptNative.ProviderName.MicrosoftPrimitiveProvider))
181
using (BCryptHashAlgorithm hasher = new BCryptHashAlgorithm(new
CngAlgorithm
(hashAlgorithm.Name), BCryptNative.ProviderName.MicrosoftPrimitiveProvider))