12 references to Sign1UnknownCoseAlgorithm
System.Security.Cryptography.Cose (12)
System\Security\Cryptography\Cose\CoseHelpers.cs (2)
180
=> throw new CryptographicException(SR.Format(SR.
Sign1UnknownCoseAlgorithm
, alg));
183
=> throw new CryptographicException(SR.Format(SR.
Sign1UnknownCoseAlgorithm
, BigInteger.MinusOne - new BigInteger(alg)));
System\Security\Cryptography\Cose\CoseKey.cs (8)
78
_ => throw new CryptographicException(SR.Format(SR.
Sign1UnknownCoseAlgorithm
, untrustedAlgorithm))
91
_ => throw new CryptographicException(SR.Format(SR.
Sign1UnknownCoseAlgorithm
, untrustedAlgorithm))
102
_ => throw new CryptographicException(SR.Format(SR.
Sign1UnknownCoseAlgorithm
, untrustedAlgorithm))
106
=> key.Algorithm.Name == expected.Name ? new CoseKey(key) : throw new CryptographicException(SR.Format(SR.
Sign1UnknownCoseAlgorithm
, untrustedAlgorithm));
119
throw new CryptographicException(SR.Format(SR.
Sign1UnknownCoseAlgorithm
, alg));
144
throw new CryptographicException(SR.Format(SR.
Sign1UnknownCoseAlgorithm
, alg));
168
_ => throw new CryptographicException(SR.Format(SR.
Sign1UnknownCoseAlgorithm
, algString))
322
throw new ArgumentException(SR.Format(SR.
Sign1UnknownCoseAlgorithm
, algorithm.Name), "key");
System\Security\Cryptography\Cose\CoseSign1Message.cs (1)
784
throw new CryptographicException(SR.Format(SR.
Sign1UnknownCoseAlgorithm
, nullableAlg));
System\Security\Cryptography\Cose\CoseSigner.cs (1)
188
exMsg = SR.Format(SR.
Sign1UnknownCoseAlgorithm
, alg.Value);