251 references to CryptographicException
System.Net.Quic (3)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ASN1.cs (1)
93
throw new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Crypto.cs (1)
125
return new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ERR.cs (1)
72
return new
CryptographicException
();
System.Net.Security (3)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ASN1.cs (1)
93
throw new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Crypto.cs (1)
125
return new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ERR.cs (1)
72
return new
CryptographicException
();
System.Private.CoreLib (1)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetRandomBytes.cs (1)
26
throw new
CryptographicException
();
System.Security.Cryptography (156)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ASN1.cs (1)
93
throw new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ASN1.Nid.cs (1)
33
throw new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Crypto.cs (1)
125
return new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Dsa.cs (2)
98
throw new
CryptographicException
();
116
throw new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ERR.cs (1)
72
return new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.Kem.cs (4)
106
throw new
CryptographicException
();
145
throw new
CryptographicException
();
166
throw new
CryptographicException
();
198
throw new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.KemAlgs.cs (1)
50
return new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.cs (2)
33
throw new
CryptographicException
();
132
throw new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.ExportKeyContents.cs (1)
36
throw new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.MLDsa.cs (1)
45
return new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.SlhDsa.cs (1)
72
return new
CryptographicException
();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OCSP.Chain.cs (2)
28
throw new
CryptographicException
();
70
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (8)
49
throw new
CryptographicException
();
58
throw new
CryptographicException
();
67
throw new
CryptographicException
();
74
throw new
CryptographicException
();
92
throw new
CryptographicException
();
101
throw new
CryptographicException
();
109
throw new
CryptographicException
();
172
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECDomainParameters.xml.cs (4)
43
throw new
CryptographicException
();
52
throw new
CryptographicException
();
67
throw new
CryptographicException
();
117
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (12)
57
throw new
CryptographicException
();
66
throw new
CryptographicException
();
75
throw new
CryptographicException
();
84
throw new
CryptographicException
();
91
throw new
CryptographicException
();
109
throw new
CryptographicException
();
127
throw new
CryptographicException
();
136
throw new
CryptographicException
();
145
throw new
CryptographicException
();
154
throw new
CryptographicException
();
169
throw new
CryptographicException
();
267
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLKemPrivateKeyAsn.xml.cs (5)
45
throw new
CryptographicException
();
54
throw new
CryptographicException
();
63
throw new
CryptographicException
();
71
throw new
CryptographicException
();
146
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (4)
43
throw new
CryptographicException
();
52
throw new
CryptographicException
();
60
throw new
CryptographicException
();
122
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
83
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\CertificateChoiceAsn.xml.cs (11)
49
throw new
CryptographicException
();
56
throw new
CryptographicException
();
74
throw new
CryptographicException
();
81
throw new
CryptographicException
();
99
throw new
CryptographicException
();
106
throw new
CryptographicException
();
124
throw new
CryptographicException
();
131
throw new
CryptographicException
();
149
throw new
CryptographicException
();
157
throw new
CryptographicException
();
226
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\IssuerAndSerialNumberAsn.xml.cs (2)
31
throw new
CryptographicException
();
95
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerIdentifierAsn.xml.cs (4)
43
throw new
CryptographicException
();
52
throw new
CryptographicException
();
60
throw new
CryptographicException
();
122
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerInfoAsn.xml.cs (1)
43
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanDerivation.cs (3)
208
throw new
CryptographicException
();
220
throw new
CryptographicException
();
238
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (6)
388
throw new
CryptographicException
();
417
throw new
CryptographicException
();
597
throw new
CryptographicException
();
877
throw new
CryptographicException
();
996
throw new
CryptographicException
();
1009
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (1)
215
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
499
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (3)
186
throw new
CryptographicException
();
284
throw new
CryptographicException
();
301
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (1)
196
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (3)
186
throw new
CryptographicException
();
225
throw new
CryptographicException
();
743
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (7)
103
throw new
CryptographicException
();
333
throw new
CryptographicException
();
371
throw new
CryptographicException
();
442
throw new
CryptographicException
();
570
throw new
CryptographicException
();
606
throw new
CryptographicException
();
620
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
1707
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (3)
813
throw new
CryptographicException
();
841
throw new
CryptographicException
();
953
throw new
CryptographicException
();
System\Security\Cryptography\AesCcm.OpenSsl.cs (2)
80
throw new
CryptographicException
();
137
throw new
CryptographicException
();
System\Security\Cryptography\AesGcm.OpenSsl.cs (2)
72
throw new
CryptographicException
();
120
throw new
CryptographicException
();
System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
200
throw new
CryptographicException
();
System\Security\Cryptography\ChaCha20Poly1305.OpenSsl.cs (2)
69
throw new
CryptographicException
();
117
throw new
CryptographicException
();
System\Security\Cryptography\ECDsa.cs (2)
159
throw new
CryptographicException
();
441
throw new
CryptographicException
();
System\Security\Cryptography\HashProviderDispenser.OpenSsl.cs (1)
38
_ => throw new
CryptographicException
(),
System\Security\Cryptography\HashProviderDispenser.Unix.cs (2)
48
throw new
CryptographicException
();
64
throw new
CryptographicException
();
System\Security\Cryptography\Helpers.cs (1)
404
_ => throw new
CryptographicException
(),
System\Security\Cryptography\LiteHash.OpenSsl.cs (1)
19
_ => throw new
CryptographicException
(),
System\Security\Cryptography\LiteHash.Unix.cs (2)
133
throw new
CryptographicException
();
220
throw new
CryptographicException
();
System\Security\Cryptography\MD5CryptoServiceProvider.cs (1)
31
throw new
CryptographicException
();
System\Security\Cryptography\MLKemImplementation.OpenSsl.cs (1)
132
throw new
CryptographicException
();
System\Security\Cryptography\OpenSslCipherLite.cs (2)
56
throw new
CryptographicException
();
99
throw new
CryptographicException
();
System\Security\Cryptography\PemEncoding.cs (1)
722
throw new
CryptographicException
();
System\Security\Cryptography\SHA1CryptoServiceProvider.cs (1)
34
throw new
CryptographicException
();
System\Security\Cryptography\SHA256CryptoServiceProvider.cs (1)
34
throw new
CryptographicException
();
System\Security\Cryptography\SHA384CryptoServiceProvider.cs (1)
34
throw new
CryptographicException
();
System\Security\Cryptography\SHA512CryptoServiceProvider.cs (1)
34
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestInfoAsn.xml.cs (2)
35
throw new
CryptographicException
();
109
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\Asn1\DistributionPointNameAsn.xml.cs (5)
44
throw new
CryptographicException
();
60
throw new
CryptographicException
();
67
throw new
CryptographicException
();
84
throw new
CryptographicException
();
151
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.manual.cs (1)
35
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (4)
76
throw new
CryptographicException
();
94
throw new
CryptographicException
();
214
throw new
CryptographicException
();
222
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\Asn1\TimeAsn.xml.cs (4)
43
throw new
CryptographicException
();
52
throw new
CryptographicException
();
60
throw new
CryptographicException
();
113
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
662
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (1)
56
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\OpenSslCrlCache.cs (1)
287
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (2)
395
throw new
CryptographicException
();
910
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (5)
1153
throw new
CryptographicException
();
1171
throw new
CryptographicException
();
1183
throw new
CryptographicException
();
1195
throw new
CryptographicException
();
1524
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (2)
91
throw new
CryptographicException
();
153
throw new
CryptographicException
();
System\Security\Cryptography\X509Certificates\X509Certificate2Collection.cs (3)
571
throw new
CryptographicException
();
626
throw new
CryptographicException
();
745
throw new
CryptographicException
();
System\Security\Cryptography\XmlKeyHelper.cs (1)
149
throw new
CryptographicException
();
System.Security.Cryptography.Cose (2)
System\Security\Cryptography\Cose\CoseHelpers.cs (2)
138
throw new
CryptographicException
();
159
throw new
CryptographicException
();
System.Security.Cryptography.Pkcs (86)
Internal\Cryptography\Pal\AnyOS\AsnHelpers.cs (1)
120
throw new
CryptographicException
();
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decode.cs (1)
74
throw new
CryptographicException
();
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
204
exception = new
CryptographicException
();
Internal\Cryptography\PkcsHelpers.cs (2)
210
throw new
CryptographicException
();
311
throw new
CryptographicException
(); // This just keeps the compiler happy. We don't expect to reach this.
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (8)
49
throw new
CryptographicException
();
58
throw new
CryptographicException
();
67
throw new
CryptographicException
();
74
throw new
CryptographicException
();
92
throw new
CryptographicException
();
101
throw new
CryptographicException
();
109
throw new
CryptographicException
();
172
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (12)
57
throw new
CryptographicException
();
66
throw new
CryptographicException
();
75
throw new
CryptographicException
();
84
throw new
CryptographicException
();
91
throw new
CryptographicException
();
109
throw new
CryptographicException
();
127
throw new
CryptographicException
();
136
throw new
CryptographicException
();
145
throw new
CryptographicException
();
154
throw new
CryptographicException
();
169
throw new
CryptographicException
();
267
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (4)
43
throw new
CryptographicException
();
52
throw new
CryptographicException
();
60
throw new
CryptographicException
();
122
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
83
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\CertificateChoiceAsn.xml.cs (11)
49
throw new
CryptographicException
();
56
throw new
CryptographicException
();
74
throw new
CryptographicException
();
81
throw new
CryptographicException
();
99
throw new
CryptographicException
();
106
throw new
CryptographicException
();
124
throw new
CryptographicException
();
131
throw new
CryptographicException
();
149
throw new
CryptographicException
();
157
throw new
CryptographicException
();
226
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\IssuerAndSerialNumberAsn.xml.cs (2)
31
throw new
CryptographicException
();
95
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerIdentifierAsn.xml.cs (4)
43
throw new
CryptographicException
();
52
throw new
CryptographicException
();
60
throw new
CryptographicException
();
122
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerInfoAsn.xml.cs (1)
43
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (6)
388
throw new
CryptographicException
();
417
throw new
CryptographicException
();
597
throw new
CryptographicException
();
877
throw new
CryptographicException
();
996
throw new
CryptographicException
();
1009
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (1)
215
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
499
throw new
CryptographicException
();
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (3)
186
throw new
CryptographicException
();
284
throw new
CryptographicException
();
301
throw new
CryptographicException
();
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientIdentifierAsn.xml.cs (4)
43
throw new
CryptographicException
();
52
throw new
CryptographicException
();
60
throw new
CryptographicException
();
113
throw new
CryptographicException
();
System\Security\Cryptography\Pkcs\Asn1\OriginatorIdentifierOrKeyAsn.xml.cs (5)
45
throw new
CryptographicException
();
54
throw new
CryptographicException
();
63
throw new
CryptographicException
();
71
throw new
CryptographicException
();
140
throw new
CryptographicException
();
System\Security\Cryptography\Pkcs\Asn1\PkiStatusInfo.xml.cs (1)
36
throw new
CryptographicException
();
System\Security\Cryptography\Pkcs\Asn1\RecipientIdentifierAsn.xml.cs (4)
43
throw new
CryptographicException
();
52
throw new
CryptographicException
();
60
throw new
CryptographicException
();
122
throw new
CryptographicException
();
System\Security\Cryptography\Pkcs\Asn1\RecipientInfoAsn.xml.cs (4)
43
throw new
CryptographicException
();
52
throw new
CryptographicException
();
60
throw new
CryptographicException
();
113
throw new
CryptographicException
();
System\Security\Cryptography\Pkcs\Asn1\SignedAttributesSet.xml.cs (3)
42
throw new
CryptographicException
();
57
throw new
CryptographicException
();
116
throw new
CryptographicException
();
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
299
throw new
CryptographicException
();
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
70
throw new
CryptographicException
();
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
271
throw new
CryptographicException
();
System\Security\Cryptography\Pkcs\SubjectIdentifier.cs (3)
94
throw new
CryptographicException
();
132
throw new
CryptographicException
();
167
throw new
CryptographicException
();