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