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)
110
KeyType keyType = signer.
_keyType
;
202
KeyType keyType = signer.
_keyType
;
System\Security\Cryptography\Cose\CoseSigner.cs (5)
162
if (
_keyType
== KeyType.RSA)
164
exMsg = SR.Format(SR.Sign1SignCoseAlgorithmDoesNotMatchSpecifiedKeyHashAlgorithmAndPadding, alg.Value,
_keyType
, HashAlgorithm.Name, RSASignaturePadding);
168
exMsg = SR.Format(SR.Sign1SignCoseAlgorithmDoesNotMatchSpecifiedKeyAndHashAlgorithm, alg.Value,
_keyType
, HashAlgorithm.Name);
178
if (
_keyType
== KeyType.ECDsa)
189
Debug.Assert(
_keyType
== KeyType.RSA);