1 type derived from CryptographicException
mscorlib (1)
system\security\cryptography\crypto.cs (1)
141
public class CryptographicUnexpectedOperationException :
CryptographicException
{
644 instantiations of CryptographicException
mscorlib (133)
system\security\cryptography\asymmetricalgorithm.cs (1)
67
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
system\security\cryptography\base64transforms.cs (1)
60
if (tempBytes.Length != 4) throw new
CryptographicException
(Environment.GetResourceString( "Cryptography_SSE_InvalidDataSize" ));
system\security\cryptography\capinative.cs (11)
294
throw new
CryptographicException
(Marshal.GetLastWin32Error());
310
throw new
CryptographicException
(Marshal.GetLastWin32Error());
325
throw new
CryptographicException
(Marshal.GetLastWin32Error());
344
throw new
CryptographicException
(Marshal.GetLastWin32Error());
373
throw new
CryptographicException
(errorCode);
380
throw new
CryptographicException
(Marshal.GetLastWin32Error());
410
throw new
CryptographicException
(errorCode);
417
throw new
CryptographicException
(Marshal.GetLastWin32Error());
433
throw new
CryptographicException
(Marshal.GetLastWin32Error());
463
throw new
CryptographicException
((int)ErrorCode.BadHash);
482
throw new
CryptographicException
(error);
system\security\cryptography\crypto.cs (1)
125
throw new
CryptographicException
(hr);
system\security\cryptography\cryptoapitransform.cs (2)
115
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeyParameter"), "_rgArgIds[i]");
257
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_SSD_InvalidDataSize"));
system\security\cryptography\des.cs (4)
60
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"DES");
63
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKey_SemiWeak"),"DES");
84
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
99
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
system\security\cryptography\descryptoserviceprovider.cs (8)
23
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_AlgorithmNotAvailable"));
35
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"DES");
37
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKey_SemiWeak"),"DES");
45
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"DES");
47
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKey_SemiWeak"),"DES");
79
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_OFBNotSupported"));
82
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_CFBSizeNotSupported"));
111
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidIVSize"));
system\security\cryptography\dsa.cs (7)
68
throw new
CryptographicException
();
166
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidFromXmlString","DSA","P"));
173
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidFromXmlString","DSA","Q"));
180
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidFromXmlString","DSA","G"));
187
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidFromXmlString","DSA","Y"));
207
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidFromXmlString","DSA","Seed"));
209
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidFromXmlString","DSA","PgenCounter"));
system\security\cryptography\dsacryptoserviceprovider.cs (5)
281
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_UnknownHashAlgorithm", hashAlgorithm.Name));
295
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_UnknownHashAlgorithm", hashAlgorithm.Name));
307
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_NoPrivateKey"));
311
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidHashSize", "SHA1", _sha1.HashSize / 8));
333
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidHashSize", "SHA1", _sha1.HashSize / 8));
system\security\cryptography\hmac.cs (2)
97
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_HashKeySet"));
107
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_HashNameSet"));
system\security\cryptography\icspasymmetricalgorithm.cs (6)
82
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_NotFound"));
106
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_NotFound"));
124
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_NotFound"));
142
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_NotFound"));
175
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_NotFound"));
197
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_NotFound"));
system\security\cryptography\keyedhashalgorithm.cs (1)
39
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_HashKeySet"));
system\security\cryptography\mactripledes.cs (1)
88
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidPaddingMode"));
system\security\cryptography\passwordderivebytes.cs (8)
97
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_ValuesFixed", "HashName"));
110
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_ValuesFixed", "IterationCount"));
123
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_ValuesFixed", "Salt"));
213
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
217
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidAlgorithm"));
220
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidAlgorithm"));
224
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidIV"));
299
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_TooManyBytes"));
system\security\cryptography\rc2.cs (4)
48
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_RC2_EKSKS"));
52
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_RC2_EKS40"));
57
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
65
if (value < EffectiveKeySizeValue) throw new
CryptographicException
(Environment.GetResourceString("Cryptography_RC2_EKSKS"));
system\security\cryptography\rc2cryptoserviceprovider.cs (6)
43
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_AlgorithmNotAvailable"));
114
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_OFBNotSupported"));
117
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_CFBSizeNotSupported"));
127
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
159
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidIVSize"));
174
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_AlgKeySizeNotAvailable", keySizeValue));
system\security\cryptography\rfc2898derivebytes.cs (6)
66
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_UnknownHashAlgorithm", hashAlgorithm.Name));
105
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_UnknownHashAlgorithm", hashAlgorithm.Name));
255
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
259
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidAlgorithm"));
263
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidAlgorithm"));
267
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidIV"));
system\security\cryptography\rijndaelmanagedtransform.cs (17)
116
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidCipherMode"));
126
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidIVSize"));
332
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_SSD_InvalidDataSize"));
393
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InsufficientBuffer"));
406
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_SSE_InvalidDataSize"));
462
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InsufficientBuffer"));
594
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InsufficientBuffer"));
601
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InsufficientBuffer"));
714
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding"));
717
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding"));
720
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding"));
727
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding"));
730
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding"));
734
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding"));
740
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding"));
743
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding"));
868
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
system\security\cryptography\rsa.cs (3)
66
throw new
CryptographicException
();
275
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidFromXmlString","RSA","Modulus"));
282
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidFromXmlString","RSA","Exponent"));
system\security\cryptography\rsacryptoserviceprovider.cs (4)
344
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_NoPrivateKey"));
427
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_Padding_DecDataTooBig", KeySize / 8));
567
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_UnknownHashAlgorithm", hashAlgorithm.Name));
643
return new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidPaddingMode"));
system\security\cryptography\rsapkcs1keyexchangeformatter.cs (1)
68
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_Padding_EncDataTooBig", cb-11));
system\security\cryptography\symmetricalgorithm.cs (7)
104
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidBlockSize"));
112
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidFeedbackSize"));
127
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidIVSize"));
142
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
162
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
173
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidCipherMode"));
183
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidPaddingMode"));
system\security\cryptography\tripledes.cs (3)
56
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
59
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"TripleDES");
82
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKeySize"));
system\security\cryptography\tripledescryptoserviceprovider.cs (6)
23
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_AlgorithmNotAvailable"));
35
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"TripleDES");
42
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"TripleDES");
75
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_OFBNotSupported"));
78
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_CFBSizeNotSupported"));
107
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidIVSize"));
system\security\cryptography\utils.cs (11)
214
throw new
CryptographicException
(hr);
277
throw new
CryptographicException
(error);
330
throw new
CryptographicException
(error);
401
throw new
CryptographicException
(hr);
412
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_CSP_WrongKeySpec"));
812
throw new
CryptographicException
(String.Format(null, Environment.GetResourceString("Cryptography_Padding_EncDataTooBig"), cb-2-2*cbHash));
867
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_OAEPDecoding"));
877
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_OAEPDecoding"));
911
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_OAEPDecoding"));
919
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_OAEPDecoding"));
923
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_OAEPDecoding"));
system\security\cryptography\x509certificates\x509certificate.cs (4)
339
throw new
CryptographicException
(STATUS_NOT_FOUND);
675
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidHandle"), "m_safeCertContext");
757
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_X509_InvalidContentType"));
776
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_X509_ExportFailed"));
system\security\cryptography\x509certificates\x509utils.cs (1)
222
throw new
CryptographicException
(Environment.GetResourceString("Cryptography_InvalidOID"));
system\security\securestring.cs (2)
467
throw new
CryptographicException
(Win32Native.LsaNtStatusToWinError(status));
670
throw new
CryptographicException
(Win32Native.LsaNtStatusToWinError(status));
System (52)
net\System\Net\_SecureChannel.cs (1)
1266
throw new
CryptographicException
(Marshal.GetLastWin32Error());
security\system\security\cryptography\cryptoapi.cs (5)
2966
throw new
CryptographicException
(Marshal.GetLastWin32Error());
2975
throw new
CryptographicException
(Marshal.GetLastWin32Error());
3431
throw new
CryptographicException
(dwErrorCode);
3461
throw new
CryptographicException
(Marshal.GetLastWin32Error());
3672
throw new
CryptographicException
(Marshal.GetLastWin32Error());
security\system\security\cryptography\x509\x500Name.cs (4)
92
throw new
CryptographicException
(CAPI.CERT_E_INVALID_NAME);
100
throw new
CryptographicException
(CAPI.CERT_E_INVALID_NAME);
147
throw new
CryptographicException
(Marshal.GetLastWin32Error());
158
throw new
CryptographicException
(Marshal.GetLastWin32Error());
security\system\security\cryptography\x509\x509certificate2.cs (13)
169
throw new
CryptographicException
(Marshal.GetLastWin32Error());
183
throw new
CryptographicException
(Marshal.GetLastWin32Error());
211
throw new
CryptographicException
(CAPI.NTE_BAD_PUBLIC_KEY);
238
throw new
CryptographicException
(CAPI.NTE_BAD_PUBLIC_KEY);
249
throw new
CryptographicException
(CAPI.NTE_BAD_PUBLIC_KEY);
260
throw new
CryptographicException
(CAPI.NTE_BAD_PUBLIC_KEY);
623
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1204
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1216
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1338
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1363
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1382
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1410
throw new
CryptographicException
(Marshal.GetLastWin32Error());
security\system\security\cryptography\x509\x509certificate2collection.cs (12)
322
throw new
CryptographicException
(Marshal.GetLastWin32Error());
328
throw new
CryptographicException
(Marshal.GetLastWin32Error());
340
throw new
CryptographicException
(Marshal.GetLastWin32Error());
348
throw new
CryptographicException
(Marshal.GetLastWin32Error());
367
throw new
CryptographicException
(Marshal.GetLastWin32Error());
378
throw new
CryptographicException
(Marshal.GetLastWin32Error());
598
throw new
CryptographicException
(Marshal.GetLastWin32Error());
701
throw new
CryptographicException
(hr);
1086
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1098
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1124
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1136
throw new
CryptographicException
(Marshal.GetLastWin32Error());
security\system\security\cryptography\x509\x509chain.cs (1)
235
throw new
CryptographicException
(Marshal.GetLastWin32Error());
security\system\security\cryptography\x509\x509extension.cs (11)
133
throw new
CryptographicException
(Marshal.GetLastWin32Error());
158
throw new
CryptographicException
(Marshal.GetLastWin32Error());
222
throw new
CryptographicException
(Marshal.GetLastWin32Error());
240
throw new
CryptographicException
(Marshal.GetLastWin32Error());
269
throw new
CryptographicException
(Marshal.GetLastWin32Error());
322
throw new
CryptographicException
(Marshal.GetLastWin32Error());
352
throw new
CryptographicException
(Marshal.GetLastWin32Error());
433
throw new
CryptographicException
(Marshal.GetLastWin32Error());
467
throw new
CryptographicException
(Marshal.GetLastWin32Error());
543
throw new
CryptographicException
(Marshal.GetHRForLastWin32Error());
558
throw new
CryptographicException
(Marshal.GetHRForLastWin32Error());
security\system\security\cryptography\x509\x509store.cs (3)
163
throw new
CryptographicException
(Marshal.GetLastWin32Error());
202
throw new
CryptographicException
(Marshal.GetLastWin32Error());
294
throw new
CryptographicException
(Marshal.GetLastWin32Error());
security\system\security\cryptography\x509\x509utils.cs (2)
361
throw new
CryptographicException
(Marshal.GetLastWin32Error());
373
throw new
CryptographicException
(Marshal.GetLastWin32Error());
System.Core (65)
Microsoft\Win32\SafeHandles\CapiSafeHandles.cs (3)
131
throw new
CryptographicException
(error);
300
throw new
CryptographicException
(Marshal.GetLastWin32Error());
404
throw new
CryptographicException
(error);
System\Security\Cryptography\AesCryptoServiceProvider.cs (2)
380
throw new
CryptographicException
(Marshal.GetLastWin32Error());
408
throw new
CryptographicException
(Marshal.GetLastWin32Error());
System\Security\Cryptography\BCryptHashAlgorithm.cs (3)
147
throw new
CryptographicException
((int)error);
205
throw new
CryptographicException
((int)error);
226
throw new
CryptographicException
((int)error);
System\Security\Cryptography\BCryptNative.cs (10)
514
throw new
CryptographicException
((int)error);
523
throw new
CryptographicException
((int)error);
592
throw new
CryptographicException
((int)error);
608
throw new
CryptographicException
(Marshal.GetLastWin32Error());
622
throw new
CryptographicException
(Marshal.GetLastWin32Error());
628
throw new
CryptographicException
(Marshal.GetLastWin32Error());
664
throw new
CryptographicException
((int)error);
712
throw new
CryptographicException
((int)error);
762
throw new
CryptographicException
((int)error);
785
throw new
CryptographicException
((int)error);
System\Security\Cryptography\CapiHashAlgorithm.cs (2)
86
throw new
CryptographicException
(error);
128
throw new
CryptographicException
(Marshal.GetLastWin32Error());
System\Security\Cryptography\CapiNative.cs (10)
529
throw new
CryptographicException
(error);
559
throw new
CryptographicException
(error);
570
throw new
CryptographicException
(Marshal.GetLastWin32Error());
618
throw new
CryptographicException
(Marshal.GetLastWin32Error());
624
throw new
CryptographicException
(Marshal.GetLastWin32Error());
662
throw new
CryptographicException
(errorCode);
682
throw new
CryptographicException
(Marshal.GetLastWin32Error());
761
throw new
CryptographicException
(Marshal.GetLastWin32Error());
793
throw new
CryptographicException
(Marshal.GetLastWin32Error());
956
throw new
CryptographicException
("SR.GetString(SR.Cryptography_InvalidHandle)", "pvKey");
System\Security\Cryptography\CapiSymmetricAlgorithm.cs (2)
265
throw new
CryptographicException
(Marshal.GetLastWin32Error());
414
throw new
CryptographicException
(Marshal.GetLastWin32Error());
System\Security\Cryptography\CngKey.cs (2)
534
throw new
CryptographicException
((int)error);
650
throw new
CryptographicException
((int)NCryptNative.ErrorCode.NotFound);
System\Security\Cryptography\NCryptNative.cs (26)
560
throw new
CryptographicException
((int)error);
574
throw new
CryptographicException
((int)error);
673
throw new
CryptographicException
((int)error);
687
throw new
CryptographicException
((int)error);
771
throw new
CryptographicException
((int)error);
785
throw new
CryptographicException
((int)error);
993
throw new
CryptographicException
((int)error);
1008
throw new
CryptographicException
((int)error);
1129
throw new
CryptographicException
((int)error);
1143
throw new
CryptographicException
((int)error);
1251
throw new
CryptographicException
((int)error);
1278
throw new
CryptographicException
((int)error);
1294
throw new
CryptographicException
((int)error);
1335
throw new
CryptographicException
((int)error);
1365
throw new
CryptographicException
((int)error);
1381
throw new
CryptographicException
((int)error);
1464
throw new
CryptographicException
((int)error);
1550
throw new
CryptographicException
((int)error);
1580
throw new
CryptographicException
((int)error);
1600
throw new
CryptographicException
((int)error);
1622
throw new
CryptographicException
((int)error);
1702
throw new
CryptographicException
((int)error);
1762
throw new
CryptographicException
((int)error);
1787
throw new
CryptographicException
((int)error);
1804
throw new
CryptographicException
((int)error);
1852
throw new
CryptographicException
((int)error);
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (2)
77
throw new
CryptographicException
("SR.GetString(SR.Cryptography_OpenInvalidHandle)");
131
throw new
CryptographicException
("SR.GetString(SR.Cryptography_OpenInvalidHandle)");
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (1)
42
throw new
CryptographicException
(Marshal.GetLastWin32Error());
System\Security\Cryptography\X509Certificates\X509Native.cs (2)
130
throw new
CryptographicException
((int)errorCode);
139
throw new
CryptographicException
(Marshal.GetLastWin32Error());
System.IdentityModel (10)
System\IdentityModel\PreDigestedSignedInfo.cs (1)
69
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CryptographicException
());
System\IdentityModel\Selectors\X509CertificateChain.cs (6)
126
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CryptographicException
(error));
133
SecurityUtils.GetCertificateId(certificate), new
CryptographicException
(error).Message)));
196
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CryptographicException
(error));
234
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CryptographicException
(error));
253
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CryptographicException
(error));
298
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CryptographicException
(error));
System\IdentityModel\Selectors\X509CertificateStore.cs (1)
98
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CryptographicException
(error));
System\IdentityModel\SignedXml.cs (2)
692
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CryptographicException
());
1370
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CryptographicException
());
System.Security (275)
system\security\cryptography\cryptoapi.cs (8)
2573
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_InvalidHandle"), "pvKey");
2688
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_InvalidHandle"), "hCertStore");
2700
throw new
CryptographicException
(dwErrorCode);
2720
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_InvalidHandle"), "hCertStore");
2725
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_InvalidHandle"), "pCertContext");
2749
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_InvalidHandle"), "hCertStore");
2754
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_InvalidHandle"), "pCertContext");
2913
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_InvalidHandle"), "hCertStore");
system\security\cryptography\cryptographicattribute.cs (1)
166
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Pkcs9_MultipleSigningTimeNotAllowed"));
system\security\cryptography\dataprotection.cs (7)
80
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_DpApi_ProfileMayNotBeLoaded"));
83
throw new
CryptographicException
(lastWin32Error);
148
throw new
CryptographicException
(Marshal.GetLastWin32Error());
193
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_DpApi_InvalidMemoryLength"));
202
throw new
CryptographicException
(CAPI.CAPISafe.LsaNtStatusToWinError(status));
224
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_DpApi_InvalidMemoryLength"));
233
throw new
CryptographicException
(CAPI.CAPISafe.LsaNtStatusToWinError(status));
system\security\cryptography\dataprotector.cs (1)
192
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_DataProtector_InvalidPurpose"));
system\security\cryptography\pkcs\envelopedpkcs7.cs (19)
214
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Envelope_Empty_Content"));
345
throw new
CryptographicException
(CAPI.E_NOTIMPL);
379
throw new
CryptographicException
(hr);
389
throw new
CryptographicException
(CAPI.CRYPT_E_RECIPIENT_NOT_FOUND);
407
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Not_Supported"));
450
throw new
CryptographicException
(Marshal.GetLastWin32Error());
471
throw new
CryptographicException
(Marshal.GetLastWin32Error());
479
throw new
CryptographicException
(Marshal.GetLastWin32Error());
504
throw new
CryptographicException
(Marshal.GetLastWin32Error());
508
throw new
CryptographicException
(Marshal.GetLastWin32Error());
512
throw new
CryptographicException
(CAPI.CRYPT_E_INVALID_MSG_TYPE);
599
throw new
CryptographicException
(Marshal.GetLastWin32Error());
645
throw new
CryptographicException
(CAPI.CRYPT_E_UNKNOWN_ALGO);
755
throw new
CryptographicException
(Marshal.GetLastWin32Error());
763
throw new
CryptographicException
(Marshal.GetLastWin32Error());
941
throw new
CryptographicException
(Marshal.GetLastWin32Error());
948
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1066
throw new
CryptographicException
(CAPI.CRYPT_E_RECIPIENT_NOT_FOUND);
1119
throw new
CryptographicException
(CAPI.CRYPT_E_NOT_FOUND);
system\security\cryptography\pkcs\pkcs7recipient.cs (2)
65
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Not_Supported"));
68
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type"), recipientIdentifierType.ToString());
system\security\cryptography\pkcs\pkcs9attribute.cs (4)
114
throw new
CryptographicException
(Marshal.GetLastWin32Error());
132
throw new
CryptographicException
(Marshal.GetLastWin32Error());
294
throw new
CryptographicException
(CAPI.CRYPT_E_BAD_ENCODE);
297
throw new
CryptographicException
(CAPI.CRYPT_E_ASN1_BADTAG);
system\security\cryptography\pkcs\pkcsmisc.cs (17)
134
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type"), certId.dwIdChoice.ToString(CultureInfo.InvariantCulture));
161
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type_Value_Mismatch"), value.GetType().ToString());
166
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Not_Supported"));
169
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type_Value_Mismatch"), value.GetType().ToString());
173
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type"), type.ToString());
241
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type"), certId.dwIdChoice.ToString(CultureInfo.InvariantCulture));
272
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type_Value_Mismatch"), value.GetType().ToString());
277
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Not_Supported"));
280
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type_Value_Mismatch"), value.GetType().ToString());
285
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Not_Supported"));
288
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type_Value_Mismatch"), value.GetType().ToString());
292
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type"), type.ToString());
349
throw new
CryptographicException
(Marshal.GetLastWin32Error());
379
throw new
CryptographicException
(Marshal.GetLastWin32Error());
545
throw new
CryptographicException
(Marshal.GetLastWin32Error());
548
throw new
CryptographicException
(Marshal.GetLastWin32Error());
571
throw new
CryptographicException
(CAPI.CRYPT_E_INVALID_MSG_TYPE);
system\security\cryptography\pkcs\pkcsutils.cs (23)
90
throw new
CryptographicException
(CAPI.CRYPT_E_UNKNOWN_ALGO);
235
throw new
CryptographicException
(Marshal.GetLastWin32Error());
329
throw new
CryptographicException
(CAPI.CRYPT_E_SIGNER_NOT_FOUND);
371
throw new
CryptographicException
(Marshal.GetLastWin32Error());
380
throw new
CryptographicException
(Marshal.GetLastWin32Error());
401
throw new
CryptographicException
(Marshal.GetLastWin32Error());
424
throw new
CryptographicException
(Marshal.GetLastWin32Error());
453
throw new
CryptographicException
(Marshal.GetLastWin32Error());
482
throw new
CryptographicException
(CAPI.CRYPT_E_BAD_ENCODE);
517
throw new
CryptographicException
(CAPI.CRYPT_E_RECIPIENT_NOT_FOUND);
521
throw new
CryptographicException
(CAPI.ERROR_CANCELLED);
554
throw new
CryptographicException
(CAPI.CRYPT_E_SIGNER_NOT_FOUND);
558
throw new
CryptographicException
(CAPI.ERROR_CANCELLED);
749
throw new
CryptographicException
(Marshal.GetLastWin32Error());
788
throw new
CryptographicException
(hr);
805
throw new
CryptographicException
(Marshal.GetLastWin32Error());
814
throw new
CryptographicException
(Marshal.GetLastWin32Error());
853
throw new
CryptographicException
(Marshal.GetLastWin32Error());
930
throw new
CryptographicException
(CAPI.CERT_E_CHAINING);
995
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1031
throw new
CryptographicException
(err);
1062
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1107
throw new
CryptographicException
(Marshal.GetLastWin32Error());
system\security\cryptography\pkcs\recipientinfo.cs (4)
402
throw new
CryptographicException
(Marshal.GetLastWin32Error());
411
throw new
CryptographicException
(Marshal.GetLastWin32Error());
445
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Originator_Identifier_Choice"), keyAgree.dwOriginatorChoice.ToString(CultureInfo.CurrentCulture));
449
throw new
CryptographicException
(CAPI.E_NOTIMPL);
system\security\cryptography\pkcs\signedpkcs7.cs (14)
170
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Sign_Empty_Content"));
174
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Cms_Sign_No_Signature_First_Signer"));
189
throw new
CryptographicException
(CAPI.NTE_NO_KEY);
229
throw new
CryptographicException
(Marshal.GetLastWin32Error());
238
throw new
CryptographicException
(Marshal.GetLastWin32Error());
336
throw new
CryptographicException
(Marshal.GetLastWin32Error());
341
throw new
CryptographicException
(Marshal.GetLastWin32Error());
387
throw new
CryptographicException
(Marshal.GetLastWin32Error());
420
throw new
CryptographicException
(Marshal.GetLastWin32Error());
424
throw new
CryptographicException
(Marshal.GetLastWin32Error());
428
throw new
CryptographicException
(CAPI.CRYPT_E_INVALID_MSG_TYPE);
436
throw new
CryptographicException
(Marshal.GetLastWin32Error());
447
throw new
CryptographicException
(CAPI.CRYPT_E_NO_SIGNER);
458
throw new
CryptographicException
(CAPI.CRYPT_E_NO_SIGNER);
system\security\cryptography\pkcs\signerinfo.cs (22)
72
throw new
CryptographicException
(Marshal.GetLastWin32Error());
155
throw new
CryptographicException
(CAPI.E_NOTIMPL);
163
throw new
CryptographicException
(CAPI.NTE_NO_KEY);
172
throw new
CryptographicException
(CAPI.E_NOTIMPL);
183
throw new
CryptographicException
(CAPI.E_NOTIMPL);
218
throw new
CryptographicException
(CAPI.CRYPT_E_SIGNER_NOT_FOUND);
233
throw new
CryptographicException
(CAPI.CRYPT_E_SIGNER_NOT_FOUND);
252
throw new
CryptographicException
(Marshal.GetLastWin32Error());
292
throw new
CryptographicException
(Marshal.GetLastWin32Error());
316
throw new
CryptographicException
(Marshal.GetLastWin32Error());
414
throw new
CryptographicException
(Marshal.GetLastWin32Error());
422
throw new
CryptographicException
(Marshal.GetLastWin32Error());
437
throw new
CryptographicException
(Marshal.GetLastWin32Error());
460
throw new
CryptographicException
(lastWin32Error);
506
throw new
CryptographicException
(hr);
580
throw new
CryptographicException
(Marshal.GetLastWin32Error());
615
throw new
CryptographicException
(Marshal.GetLastWin32Error());
633
throw new
CryptographicException
(Marshal.GetLastWin32Error());
676
throw new
CryptographicException
(CAPI.CRYPT_E_NO_SIGNER);
736
throw new
CryptographicException
(Marshal.GetLastWin32Error());
746
throw new
CryptographicException
(Marshal.GetLastWin32Error());
755
throw new
CryptographicException
(Marshal.GetLastWin32Error());
system\security\cryptography\x509\x509ui.cs (4)
53
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_InvalidHandle"), "safeCertContext");
85
throw new
CryptographicException
(Marshal.GetLastWin32Error());
122
throw new
CryptographicException
(Marshal.GetLastWin32Error());
158
throw new
CryptographicException
(Marshal.GetLastWin32Error());
system\security\cryptography\x509\x509utils.cs (4)
154
throw new
CryptographicException
(Marshal.GetLastWin32Error());
166
throw new
CryptographicException
(Marshal.GetLastWin32Error());
204
throw new
CryptographicException
(Marshal.GetLastWin32Error());
230
throw new
CryptographicException
(Marshal.GetLastWin32Error());
system\security\cryptography\xml\cipherdata.cs (5)
51
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_CipherValueElementRequired"));
64
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_CipherValueElementRequired"));
89
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_CipherValueElementRequired"));
106
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_CipherValueElementRequired"));
112
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_CipherValueElementRequired"));
system\security\cryptography\xml\encrypteddata.cs (2)
54
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingCipherData"));
109
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingCipherData"));
system\security\cryptography\xml\encryptedkey.cs (2)
98
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingCipherData"));
184
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingCipherData"));
system\security\cryptography\xml\encryptedreference.cs (3)
92
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_ReferenceTypeRequired"));
163
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_ReferenceTypeRequired"));
184
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriRequired"));
system\security\cryptography\xml\encryptedtype.cs (3)
217
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidEncryptionProperty"));
237
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidEncryptionProperty"));
266
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidEncryptionProperty"));
system\security\cryptography\xml\encryptedxml.cs (23)
220
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriNotSupported"));
227
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriNotSupported"));
239
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriNotSupported"));
247
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriNotSupported"));
272
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingCipherData"));
281
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriNotResolved"), cipherData.CipherReference.Uri);
284
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriNotResolved"), cipherData.CipherReference.Uri);
287
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriNotResolved"), cipherData.CipherReference.Uri);
310
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingAlgorithm"));
325
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriNotSupported"));
391
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingAlgorithm"));
396
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingDecryptionKey"));
400
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingAlgorithm"));
431
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingAlgorithm"));
450
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingAlgorithm"));
489
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingAlgorithm"));
493
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingAlgorithm"));
515
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_NotSupportedCryptographicTransform"));
573
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingEncryptionKey"));
606
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_NotSupportedCryptographicTransform"));
642
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingDecryptionKey"));
840
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_NotSupportedCryptographicTransform"));
876
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_NotSupportedCryptographicTransform"));
system\security\cryptography\xml\keyinfo.cs (8)
77
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "KeyInfo");
88
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "KeyInfo/KeyValue");
445
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "KeyInfoEncryptedKey");
451
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "KeyInfoEncryptedKey");
541
throw new
CryptographicException
(CAPI.CERT_E_CHAINING);
559
throw new
CryptographicException
(CAPI.CERT_E_CHAINING);
725
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "X509Data");
737
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "IssuerSerial");
system\security\cryptography\xml\reference.cs (20)
187
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_DigestMethodRequired"));
195
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_DigestValueRequired"));
214
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference");
225
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/Transforms");
230
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/Transforms");
236
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/Transforms");
239
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/Transforms");
245
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
249
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
278
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/DigestMethod");
282
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/DigestMethod");
287
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/DigestValue");
291
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference/DigestValue");
296
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Reference");
323
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_CreateHashAlgorithmFailed"));
355
throw new
CryptographicException
(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_SelfReferenceRequiresContext"), m_uri));
369
throw new
CryptographicException
(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_SelfReferenceRequiresContext"),m_uri));
398
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidReference"));
429
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriNotResolved"), m_uri);
438
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriNotResolved"), m_uri);
system\security\cryptography\xml\signature.cs (9)
105
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_SignedInfoRequired"));
111
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_SignatureValueRequired"));
142
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Signature");
147
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Signature");
156
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"),"SignedInfo");
166
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"),"SignatureValue");
172
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignatureValue");
179
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "KeyInfo");
214
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Signature");
system\security\cryptography\xml\signedinfo.cs (11)
98
throw new
CryptographicException
(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_CreateTransformFailed"), this.CanonicalizationMethod));
161
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_SignatureMethodRequired"));
177
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_ReferenceElementRequired"));
194
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo");
203
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo");
208
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo/CanonicalizationMethod");
213
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo/CanonicalizationMethod");
221
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo/SignatureMethod");
226
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo/SignatureMethod");
240
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo/Reference");
253
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "SignedInfo");
system\security\cryptography\xml\signedxml.cs (18)
362
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_LoadKeyFailed"));
373
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_CreatedKeyFailed"));
380
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_SignatureDescriptionNotCreated"));
383
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_CreateHashAlgorithmFailed"));
397
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_SignatureMethodKeyMismatch"));
406
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidSignatureLength"));
408
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidSignatureLength2"));
431
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_SignatureMethodKeyMismatch"));
447
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_KeyInfoRequired"));
548
throw new
CryptographicException
(
814
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidReference"));
972
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_SignatureDescriptionNotCreated"));
981
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_CreateHashAlgorithmFailed"));
1009
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidSignatureLength"));
1011
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidSignatureLength2"));
1013
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_SignatureValueRequired"));
1015
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidSignatureLength"));
1054
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidReference"));
system\security\cryptography\xml\symmetrickeywrap.cs (6)
70
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_KW_BadKeySize"));
94
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_BadWrappedKeySize"));
103
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_KW_BadKeySize"));
152
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_KW_BadKeySize"));
170
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_BadWrappedKeySize"));
200
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_BadWrappedKeySize"));
system\security\cryptography\xml\transform.cs (33)
96
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"));
108
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"));
120
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"));
123
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"));
141
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"));
174
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidElement"), "Transforms");
182
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
393
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
488
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
494
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
575
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
683
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
696
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
713
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
719
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
848
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
857
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
866
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
974
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
1005
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_EnvelopedSignatureRequiresContext"));
1016
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_EnvelopedSignatureRequiresContext"));
1033
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_EnvelopedSignatureRequiresContext"));
1170
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
1179
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UriRequired"));
1181
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
1187
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
1269
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_MissingDecryptionKey"));
1388
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_XrmlUnableToDecryptGrant"));
1436
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_UnknownTransform"));
1443
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_XrmlMissingContext"));
1459
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_XrmlMissingIssuer"));
1468
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_XrmlMissingLicence"));
1486
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_XrmlMissingIRelDecryptor"));
system\security\cryptography\xml\utils.cs (2)
616
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidReference"));
633
throw new
CryptographicException
(SecurityResources.GetResourceString("Cryptography_Xml_InvalidReference"));
System.Web (1)
Security\Cryptography\HomogenizingCryptoServiceWrapper.cs (1)
44
throw new
CryptographicException
();
System.Windows.Forms (108)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (41)
351
throw new
CryptographicException
(Win32.TRUST_E_NOSIGNATURE);
361
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
369
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
385
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
394
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
427
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
435
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
456
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
475
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
541
throw new
CryptographicException
(hr);
559
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
569
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
575
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
581
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
599
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
604
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
614
throw new
CryptographicException
(hr);
623
throw new
CryptographicException
(Win32.TRUST_E_FAIL);
636
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
640
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
645
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
654
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
670
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
675
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
690
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
695
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
715
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
740
throw new
CryptographicException
(hr);
751
throw new
CryptographicException
(Win32.TRUST_E_FAIL);
756
throw new
CryptographicException
(Win32.TRUST_E_FAIL);
776
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
791
throw new
CryptographicException
(hr);
826
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
830
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
835
throw new
CryptographicException
(Win32.NTE_BAD_KEY);
848
throw new
CryptographicException
(hr);
868
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
887
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
915
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
1039
throw new
CryptographicException
(hr);
1073
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (67)
163
throw new
CryptographicException
(Win32.TRUST_E_NOSIGNATURE);
190
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
249
throw new
CryptographicException
(Win32.TRUST_E_NOSIGNATURE);
289
throw new
CryptographicException
(hr);
331
throw new
CryptographicException
(Win32.TRUST_E_NOSIGNATURE);
354
throw new
CryptographicException
(Win32.TRUST_E_CERT_SIGNATURE);
369
throw new
CryptographicException
(Win32.TRUST_E_FAIL);
374
throw new
CryptographicException
(Win32.TRUST_E_EXPLICIT_DISTRUST);
389
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
449
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_NOT_TRUSTED);
463
throw new
CryptographicException
(Win32.TRUST_E_FAIL);
468
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_NOT_TRUSTED);
481
throw new
CryptographicException
(Win32.TRUST_E_CERT_SIGNATURE);
524
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
537
throw new
CryptographicException
(Win32.TRUST_E_CERT_SIGNATURE);
581
throw new
CryptographicException
(Win32.TRUST_E_CERT_SIGNATURE);
598
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
607
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
627
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
637
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
678
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
687
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
712
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
780
throw new
CryptographicException
(Win32.TRUST_E_TIME_STAMP);
837
throw new
CryptographicException
(Win32.TRUST_E_TIME_STAMP);
851
throw new
CryptographicException
(Win32.TRUST_E_TIME_STAMP);
869
throw new
CryptographicException
(Win32.TRUST_E_NO_SIGNER_CERT);
954
throw new
CryptographicException
(Win32.NTE_BAD_HASH);
964
throw new
CryptographicException
(Win32.TRUST_E_TIME_STAMP);
994
throw new
CryptographicException
(Win32.TRUST_E_TIME_STAMP);
1001
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_NOT_TRUSTED);
1028
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1160
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1172
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1179
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1187
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1208
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1214
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1225
throw new
CryptographicException
(hr);
1235
throw new
CryptographicException
(Win32.TRUST_E_FAIL);
1249
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1254
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1260
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1270
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1288
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
1295
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
1313
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
1320
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
1341
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1370
throw new
CryptographicException
(hr);
1382
throw new
CryptographicException
(Win32.TRUST_E_FAIL);
1389
throw new
CryptographicException
(Win32.TRUST_E_FAIL);
1411
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1426
throw new
CryptographicException
(hr);
1499
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1504
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1514
throw new
CryptographicException
(Win32.NTE_BAD_KEY);
1539
throw new
CryptographicException
(hr);
1560
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
1586
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
1599
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
1634
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
1647
throw new
CryptographicException
(Win32.TRUST_E_BAD_DIGEST);
1810
throw new
CryptographicException
(Marshal.GetLastWin32Error());
1870
throw new
CryptographicException
(hr);
1909
throw new
CryptographicException
(Win32.TRUST_E_SUBJECT_FORM_UNKNOWN);
2028
throw new
CryptographicException
(Win32.TRUST_E_SYSTEM_ERROR); //Throws a System Trust error
61 references to CryptographicException
mscorlib (1)
system\security\cryptography\utils.cs (1)
866
catch (
CryptographicException
) {
System (12)
net\System\Net\_SecureChannel.cs (3)
372
catch (
CryptographicException
) {
415
if (exception is
CryptographicException
|| exception is SecurityException) {
447
catch (
CryptographicException
) {
net\System\Net\HttpListenerRequest.cs (2)
146
catch (
CryptographicException
exception) {
961
catch (
CryptographicException
exception) {
security\system\security\cryptography\x509\x509certificate2.cs (7)
565
catch (
CryptographicException
) {
588
catch (
CryptographicException
) {
1250
catch (
CryptographicException
) {}
1273
catch (
CryptographicException
) {}
1282
catch (
CryptographicException
) {}
1289
catch (
CryptographicException
) {}
1296
catch (
CryptographicException
) {}
System.Core (12)
System\Security\Cryptography\CngKey.cs (2)
145
catch (
CryptographicException
) {
377
catch (
CryptographicException
) { /* This may have been an imported ephemeral key */ }
System\Security\Cryptography\ECDiffieHellman.cs (1)
177
/// <exception cref="
CryptographicException
"><paramref name="prfSeed"/> is not exactly 64 bytes in length</exception>
System\Security\Cryptography\ECDiffieHellmanCng.cs (3)
619
/// <exception cref="
CryptographicException
">
635
/// <exception cref="
CryptographicException
">
651
/// <exception cref="
CryptographicException
">
System\Security\Cryptography\ECDiffieHellmanCngPublicKey.cs (2)
140
/// <exception cref="
CryptographicException
">
158
/// <exception cref="
CryptographicException
">
System\Security\Cryptography\Rfc4050KeyFormatter.cs (1)
225
catch (
CryptographicException
) { /* The system failed to generate a key for the curve */ }
System\Security\Cryptography\RsaCng.cs (2)
35
/// <exception cref="
CryptographicException
">if <paramref name="keySize" /> is not valid</exception>
316
/// <exception cref="
CryptographicException
">
System\Security\Cryptography\Xml\ManifestSignedXml.cs (1)
251
catch (
CryptographicException
e) {
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCngProvider.cs (1)
400
catch (
CryptographicException
)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (1)
416
catch (
CryptographicException
e)
System.IdentityModel (10)
System\IdentityModel\ProtectedDataCookieTransform.cs (2)
60
catch (
CryptographicException
e )
93
catch (
CryptographicException
e )
System\IdentityModel\RsaSignatureCookieTransform.cs (3)
134
/// <exception cref="
CryptographicException
">The signature is invalid.</exception>
208
catch (
CryptographicException
e)
280
catch (
CryptographicException
e)
System\IdentityModel\Tokens\RsaSecurityKey.cs (1)
213
catch (
CryptographicException
)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
2801
/// <exception cref="
CryptographicException
">Token encrypting credentials must have a Symmetric Key specified.</exception>
4506
/// <exception cref="
CryptographicException
">Saml2NameIdentifier encrypting credentials must have a Symmetric Key specified.</exception>
System\IdentityModel\Tokens\X509IssuerSerialKeyIdentifierClause.cs (1)
97
catch (
CryptographicException
e)
System\IdentityModel\X509Util.cs (1)
47
catch (
CryptographicException
e)
System.Security (3)
system\security\cryptography\pkcs\signerinfo.cs (2)
452
catch (
CryptographicException
) {
639
catch (
CryptographicException
) {
system\security\cryptography\xml\utils.cs (1)
917
catch (
CryptographicException
) {}
System.ServiceModel (9)
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (1)
197
catch (System.Security.Cryptography.
CryptographicException
ex)
System\ServiceModel\Security\CryptoHelper.cs (1)
162
catch (
CryptographicException
ex)
System\ServiceModel\Security\DataProtectionSecurityStateEncoder.cs (2)
73
catch (
CryptographicException
exception)
86
catch (
CryptographicException
exception)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
689
|| e is System.Security.Cryptography.
CryptographicException
System\ServiceModel\Security\SecurityUtils.cs (2)
886
catch (
CryptographicException
e)
1946
catch (
CryptographicException
)
System\ServiceModel\Security\TlsSspiNegotiation.cs (1)
559
catch (
CryptographicException
e)
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (1)
162
catch (
CryptographicException
exception)
System.Web.Extensions (1)
Handlers\ScriptResourceHandler.cs (1)
295
catch (
CryptographicException
ex) {
System.Windows.Forms (4)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (2)
920
if (!(e is
CryptographicException
) ||
991
if ((e is ArgumentException) || (e is
CryptographicException
))
winforms\Managed\System\WinForms\TrustManager.cs (2)
362
if (!(e is
CryptographicException
))
382
if (!(ex is
CryptographicException
))
WindowsBase (3)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (1)
860
catch (
CryptographicException
) when (usingMatchingSignatureMethod)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (2)
551
catch (System.Security.Cryptography.
CryptographicException
)
827
/// <exception cref="System.Security.Cryptography.
CryptographicException
">certificate is invalid but the error code is not recognized</exception>
WsatConfig (3)
Configuration\CertificateManager.cs (2)
188
catch (
CryptographicException
)
300
catch (
CryptographicException
)
Configuration\WsatConfiguration.cs (1)
388
catch (
CryptographicException
e)
WsatUI (1)
Configuration\WsatConfiguration.cs (1)
388
catch (
CryptographicException
e)