1 write to HashAlgorithm
System.Security.Cryptography (1)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PbeParameters.cs (1)
75HashAlgorithm = hashAlgorithm;
19 references to HashAlgorithm
System.Security.Cryptography (14)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngPkcs8.cs (2)
31pbeParameters.HashAlgorithm == s_platformParameters.HashAlgorithm;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (5)
57if (pbeParameters.HashAlgorithm != HashAlgorithmName.SHA1) 61pbeParameters.HashAlgorithm.Name); 308HashAlgorithmName prf = pbeParameters.HashAlgorithm; 356HashAlgorithmName prf = pbeParameters.HashAlgorithm; 382Debug.Assert(pbeParameters.HashAlgorithm == HashAlgorithmName.SHA1);
System\Security\Cryptography\Helpers.cs (4)
452switch (exportParameters.HashAlgorithm.Name) 463throw new CryptographicException(SR.Format(SR.Cryptography_UnknownAlgorithmIdentifier, exportParameters.HashAlgorithm.Name)); 468switch (exportParameters.HashAlgorithm.Name) 475throw new CryptographicException(SR.Format(SR.Cryptography_UnknownAlgorithmIdentifier, exportParameters.HashAlgorithm.Name));
System\Security\Cryptography\X509Certificates\StorePal.Windows.Export.cs (1)
239builder.SealWithMac(passwordChars, newPbeParameters.HashAlgorithm, newPbeParameters.IterationCount);
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
399/// <paramref name="exportParameters"/> specifies a <see cref="PbeParameters.HashAlgorithm"/> value that is
System\Security\Cryptography\X509Certificates\X509Certificate2Collection.cs (1)
159/// <paramref name="exportParameters"/> specifies a <see cref="PbeParameters.HashAlgorithm"/> value that is
System.Security.Cryptography.Pkcs (5)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (5)
57if (pbeParameters.HashAlgorithm != HashAlgorithmName.SHA1) 61pbeParameters.HashAlgorithm.Name); 308HashAlgorithmName prf = pbeParameters.HashAlgorithm; 356HashAlgorithmName prf = pbeParameters.HashAlgorithm; 382Debug.Assert(pbeParameters.HashAlgorithm == HashAlgorithmName.SHA1);