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