1 write to HashAlgorithm
System.Security.Cryptography (1)
System\Security\Cryptography\PbeParameters.cs (1)
20HashAlgorithm = hashAlgorithm;
17 references to HashAlgorithm
System.Security.Cryptography (12)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (5)
44if (pbeParameters.HashAlgorithm != HashAlgorithmName.SHA1) 48pbeParameters.HashAlgorithm.Name); 280HashAlgorithmName prf = pbeParameters.HashAlgorithm; 328HashAlgorithmName prf = pbeParameters.HashAlgorithm; 354Debug.Assert(pbeParameters.HashAlgorithm == HashAlgorithmName.SHA1);
System\Security\Cryptography\Helpers.cs (4)
421switch (exportParameters.HashAlgorithm.Name) 432throw new CryptographicException(SR.Format(SR.Cryptography_UnknownAlgorithmIdentifier, exportParameters.HashAlgorithm.Name)); 437switch (exportParameters.HashAlgorithm.Name) 444throw new CryptographicException(SR.Format(SR.Cryptography_UnknownAlgorithmIdentifier, exportParameters.HashAlgorithm.Name));
System\Security\Cryptography\X509Certificates\UnixExportProvider.cs (1)
131builder.SealWithMac(passwordSpan, exportParameters.HashAlgorithm, exportParameters.IterationCount);
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
397/// <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\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (5)
44if (pbeParameters.HashAlgorithm != HashAlgorithmName.SHA1) 48pbeParameters.HashAlgorithm.Name); 280HashAlgorithmName prf = pbeParameters.HashAlgorithm; 328HashAlgorithmName prf = pbeParameters.HashAlgorithm; 354Debug.Assert(pbeParameters.HashAlgorithm == HashAlgorithmName.SHA1);