2 writes to HashAlgorithm
System.Security.Cryptography.Cose (2)
System\Security\Cryptography\Cose\CoseKey.cs (2)
39
HashAlgorithm
= hashAlgorithm;
53
HashAlgorithm
= hashAlgorithm;
7 references to HashAlgorithm
System.Security.Cryptography.Cose (7)
System\Security\Cryptography\Cose\CoseKey.cs (6)
199
Debug.Assert(
HashAlgorithm
!= null);
201
return SignHashWithRSA(_rsaKey, toBeSigned,
HashAlgorithm
.Value, RSASignaturePadding, destination);
250
Debug.Assert(
HashAlgorithm
!= null);
251
return _rsaKey.VerifyHash(toBeSigned, signature,
HashAlgorithm
.Value, RSASignaturePadding);
333
Debug.Assert(
HashAlgorithm
!= null);
334
return new HashToBeSignedBuilder(
HashAlgorithm
.Value);
System\Security\Cryptography\Cose\CoseSigner.cs (1)
34
public HashAlgorithmName HashAlgorithm => CoseKey.
HashAlgorithm
?? default;