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