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