2 writes to _keyType
System.Security.Cryptography.Cose (2)
System\Security\Cryptography\Cose\CoseSigner.cs (2)
78_keyType = CoseHelpers.GetKeyType(key); 118_keyType = CoseHelpers.GetKeyType(key);
7 references to _keyType
System.Security.Cryptography.Cose (7)
System\Security\Cryptography\Cose\CoseHelpers.cs (2)
110KeyType keyType = signer._keyType; 202KeyType keyType = signer._keyType;
System\Security\Cryptography\Cose\CoseSigner.cs (5)
162if (_keyType == KeyType.RSA) 164exMsg = SR.Format(SR.Sign1SignCoseAlgorithmDoesNotMatchSpecifiedKeyHashAlgorithmAndPadding, alg.Value, _keyType, HashAlgorithm.Name, RSASignaturePadding); 168exMsg = SR.Format(SR.Sign1SignCoseAlgorithmDoesNotMatchSpecifiedKeyAndHashAlgorithm, alg.Value, _keyType, HashAlgorithm.Name); 178if (_keyType == KeyType.ECDsa) 189Debug.Assert(_keyType == KeyType.RSA);