1 write to KeyType
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseKey.cs (1)
32KeyType = keyType;
12 references to KeyType
System.Security.Cryptography.Cose (12)
System\Security\Cryptography\Cose\CoseKey.cs (9)
179switch (KeyType) 190Debug.Fail($"Unknown key type: {KeyType}"); 191throw new CryptographicException(SR.Format(SR.Sign1UnsupportedKey, KeyType.ToString())); 197switch (KeyType) 214throw new CryptographicException(SR.Format(SR.Sign1UnsupportedKey, KeyType.ToString())); 242switch (KeyType) 265Debug.Fail($"Unknown keyType: {KeyType}"); 266throw new ArgumentException(SR.Sign1UnsupportedKey, KeyType.ToString()); 331switch (KeyType)
System\Security\Cryptography\Cose\CoseSigner.cs (3)
190switch (CoseKey.KeyType) 193exMsg = SR.Format(SR.Sign1SignCoseAlgorithmDoesNotMatchSpecifiedKeyHashAlgorithmAndPadding, alg.Value, CoseKey.KeyType, HashAlgorithm.Name, RSASignaturePadding); 201exMsg = SR.Format(SR.Sign1SignCoseAlgorithmDoesNotMatchSpecifiedKeyAndHashAlgorithm, alg.Value, CoseKey.KeyType, HashAlgorithm.Name);