2 writes to _keyType
System.Security.Cryptography.Cose (2)
System\Security\Cryptography\Cose\CoseSigner.cs (2)
77_keyType = CoseHelpers.GetKeyType(key); 114_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)
158if (_keyType == KeyType.RSA) 160exMsg = SR.Format(SR.Sign1SignCoseAlgorithmDoesNotMatchSpecifiedKeyHashAlgorithmAndPadding, alg.Value, _keyType, HashAlgorithm.Name, RSASignaturePadding); 164exMsg = SR.Format(SR.Sign1SignCoseAlgorithmDoesNotMatchSpecifiedKeyAndHashAlgorithm, alg.Value, _keyType, HashAlgorithm.Name); 174if (_keyType == KeyType.ECDsa) 185Debug.Assert(_keyType == KeyType.RSA);