3 writes to Algorithm
System.Security.Cryptography.Cose (3)
System\Security\Cryptography\Cose\CoseKey.cs (3)
37Algorithm = GetRSAAlgorithm(signaturePadding, hashAlgorithm); 51Algorithm = GetECDsaAlgorithm(hashAlgorithm); 64Algorithm = GetMLDsaAlgorithm(key.Algorithm);
5 references to Algorithm
System.Security.Cryptography.Cose (5)
System\Security\Cryptography\Cose\CoseSign1Message.cs (2)
1046if (algorithm != key.Algorithm) 1048throw new CryptographicException(SR.Format(SR.Sign1VerifyAlgDoesNotMatchKeyAlgorithm, algorithm, key.Algorithm));
System\Security\Cryptography\Cose\CoseSignature.cs (2)
696if (algorithm != key.Algorithm) 698throw new CryptographicException(SR.Format(SR.Sign1VerifyAlgDoesNotMatchKeyAlgorithm, algorithm, key.Algorithm));
System\Security\Cryptography\Cose\CoseSigner.cs (1)
157CoseAlgorithm algHeaderValue = CoseKey.Algorithm;