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)); 119throw new CryptographicException(SR.Format(SR.Sign1UnknownCoseAlgorithm, alg)); 144throw new CryptographicException(SR.Format(SR.Sign1UnknownCoseAlgorithm, alg)); 168_ => throw new CryptographicException(SR.Format(SR.Sign1UnknownCoseAlgorithm, algString)) 322throw new ArgumentException(SR.Format(SR.Sign1UnknownCoseAlgorithm, algorithm.Name), "key");
System\Security\Cryptography\Cose\CoseSign1Message.cs (1)
784throw new CryptographicException(SR.Format(SR.Sign1UnknownCoseAlgorithm, nullableAlg));
System\Security\Cryptography\Cose\CoseSigner.cs (1)
188exMsg = SR.Format(SR.Sign1UnknownCoseAlgorithm, alg.Value);