5 references to Sign1UnsupportedKey
System.Security.Cryptography.Cose (5)
System\Security\Cryptography\Cose\CoseKey.cs (4)
111
throw new ArgumentException(SR.Format(SR.
Sign1UnsupportedKey
, key.GetType().Name), nameof(key));
186
throw new CryptographicException(SR.Format(SR.
Sign1UnsupportedKey
, KeyType.ToString()));
211
throw new CryptographicException(SR.Format(SR.
Sign1UnsupportedKey
, KeyType.ToString()));
263
throw new ArgumentException(SR.
Sign1UnsupportedKey
, KeyType.ToString());
System\Security\Cryptography\Cose\CoseSigner.cs (1)
79
throw new ArgumentException(SR.Format(SR.
Sign1UnsupportedKey
, key.GetType().Name), nameof(key));