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