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