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