2 writes to HashAlgorithm
System.Security.Cryptography.Cose (2)
System\Security\Cryptography\Cose\CoseSigner.cs (2)
74
HashAlgorithm
= hashAlgorithm;
113
HashAlgorithm
= hashAlgorithm;
10 references to HashAlgorithm
System.Security.Cryptography.Cose (10)
System\Security\Cryptography\Cose\CoseHelpers.cs (1)
120
return SignHashWithRSA((RSA)key, hasher, signer.
HashAlgorithm
, signer.RSASignaturePadding, destination);
System\Security\Cryptography\Cose\CoseMultiSignMessage.cs (4)
461
using (IncrementalHash hasher = IncrementalHash.CreateHash(signer.
HashAlgorithm
))
489
HashAlgorithmName hashAlgorithm = signer.
HashAlgorithm
;
801
using (IncrementalHash hasher = IncrementalHash.CreateHash(signer.
HashAlgorithm
))
874
using (IncrementalHash hasher = IncrementalHash.CreateHash(signer.
HashAlgorithm
))
System\Security\Cryptography\Cose\CoseSign1Message.cs (2)
334
using (IncrementalHash hasher = IncrementalHash.CreateHash(signer.
HashAlgorithm
))
356
using (IncrementalHash hasher = IncrementalHash.CreateHash(signer.
HashAlgorithm
))
System\Security\Cryptography\Cose\CoseSigner.cs (3)
164
exMsg = SR.Format(SR.Sign1SignCoseAlgorithmDoesNotMatchSpecifiedKeyHashAlgorithmAndPadding, alg.Value, _keyType,
HashAlgorithm
.Name, RSASignaturePadding);
168
exMsg = SR.Format(SR.Sign1SignCoseAlgorithmDoesNotMatchSpecifiedKeyAndHashAlgorithm, alg.Value, _keyType,
HashAlgorithm
.Name);
177
string? hashAlgorithmName =
HashAlgorithm
.Name;