1 write to HashAlgorithm
System.Security.Cryptography (1)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PbeParameters.cs (1)
75
HashAlgorithm
= hashAlgorithm;
19 references to HashAlgorithm
System.Security.Cryptography (14)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngPkcs8.cs (2)
31
pbeParameters.
HashAlgorithm
== s_platformParameters.
HashAlgorithm
;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (5)
57
if (pbeParameters.
HashAlgorithm
!= HashAlgorithmName.SHA1)
61
pbeParameters.
HashAlgorithm
.Name);
308
HashAlgorithmName prf = pbeParameters.
HashAlgorithm
;
356
HashAlgorithmName prf = pbeParameters.
HashAlgorithm
;
382
Debug.Assert(pbeParameters.
HashAlgorithm
== HashAlgorithmName.SHA1);
System\Security\Cryptography\Helpers.cs (4)
452
switch (exportParameters.
HashAlgorithm
.Name)
463
throw new CryptographicException(SR.Format(SR.Cryptography_UnknownAlgorithmIdentifier, exportParameters.
HashAlgorithm
.Name));
468
switch (exportParameters.
HashAlgorithm
.Name)
475
throw new CryptographicException(SR.Format(SR.Cryptography_UnknownAlgorithmIdentifier, exportParameters.
HashAlgorithm
.Name));
System\Security\Cryptography\X509Certificates\StorePal.Windows.Export.cs (1)
239
builder.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)
57
if (pbeParameters.
HashAlgorithm
!= HashAlgorithmName.SHA1)
61
pbeParameters.
HashAlgorithm
.Name);
308
HashAlgorithmName prf = pbeParameters.
HashAlgorithm
;
356
HashAlgorithmName prf = pbeParameters.
HashAlgorithm
;
382
Debug.Assert(pbeParameters.
HashAlgorithm
== HashAlgorithmName.SHA1);