310 references to Cryptography_Der_Invalid_Encoding
System.Security.Cryptography (310)
src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (9)
70throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 98throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 120throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 127throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 135throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 326throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 333throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 392throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ASN1.GetIntegerBytes.cs (1)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (4)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 45throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 70throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 87throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\CurveAsn.xml.cs (2)
55throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 72throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DigestInfoAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (3)
84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 125throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 137throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DssParms.xml.cs (2)
50throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECDomainParameters.xml.cs (3)
60throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 83throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 95throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECPrivateKey.xml.cs (2)
66throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 83throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\EdiPartyNameAsn.xml.cs (2)
57throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 74throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\EncryptedPrivateKeyInfoAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\FieldID.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 40throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (5)
101throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 118throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 162throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 185throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 197throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLKemPrivateKeyAsn.xml.cs (2)
87throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 99throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLKemPrivateKeyBothAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\OtherNameAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBES2Params.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
83throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 100throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (2)
76throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 88throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\CertBagAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (2)
81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 98throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
55throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.xml.cs (2)
55throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 72throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SafeBagAsn.xml.cs (4)
34throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 96throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SecretBagAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\CertificateChoiceAsn.xml.cs (6)
66throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 116throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 141throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 173throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 185throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\ContentInfoAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncapsulatedContentInfoAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 44throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 69throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedContentInfoAsn.xml.cs (3)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (2)
63throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 80throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\IssuerAndSerialNumberAsn.xml.cs (3)
41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\OtherCertificateFormat.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 40throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignedDataAsn.xml.cs (3)
67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 119throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerIdentifierAsn.xml.cs (2)
76throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 88throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerInfoAsn.xml.cs (3)
53throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 92throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 109throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (2)
65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 82throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
149throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 166throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPrivateKeyAsn.xml.cs (2)
62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPublicKeyAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\SpecifiedECDomain.xml.cs (3)
51throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 75throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 92throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (3)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 83throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 100throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1Reader\AsnValueReader.cs (2)
233throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 247throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (8)
25throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 39throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 105throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 110throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 130throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (19)
102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 124throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 136throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 149throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 190throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 197throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 210throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 237throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 253throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 288throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 301throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 306throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 327throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 347throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 360throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 381throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 388throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 409throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 440throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\KeyBlobHelpers.cs (1)
31throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (4)
49throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 80throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 157throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (7)
113throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 142throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 298throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 329throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 356throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 398throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 434throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (5)
1698throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 1707throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 1719throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 1751throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 1764throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (17)
517throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 602throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 622throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 637throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 644throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 654throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 673throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 692throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 708throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 715throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 727throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 745throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 765throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 816throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 823throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 828throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 867throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (1)
112throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Info.cs (4)
66throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 98throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 104throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 150throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (5)
59throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 220throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 228throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 233throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 303throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (3)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 192throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 223throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (2)
27throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (2)
500throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 616throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (2)
1012throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 1077throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.cs (2)
599ThrowWithHResult(SR.Cryptography_Der_Invalid_Encoding, CRYPT_E_BAD_DECODE); 638ThrowWithHResult(SR.Cryptography_Der_Invalid_Encoding, CRYPT_E_BAD_DECODE);
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (11)
147throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 255throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 267ThrowWithHResult(SR.Cryptography_Der_Invalid_Encoding, CRYPT_E_BAD_DECODE, e); 466throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 474throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 479throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 512throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 521throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 554throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 702ThrowWithHResult(SR.Cryptography_Der_Invalid_Encoding, CRYPT_E_BAD_DECODE); 871throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
85throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Helpers.cs (6)
174throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 189throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 196throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 301throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 308throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 326throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\RSA.cs (2)
917throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 965throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\AccessDescriptionAsn.xml.cs (3)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 55throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 72throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\BasicConstraintsAsn.xml.cs (2)
79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 96throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificateAsn.xml.cs (2)
50throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificatePolicyMappingAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 40throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificateTemplateAsn.xml.cs (3)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestAsn.xml.cs (2)
50throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestInfoAsn.xml.cs (3)
45throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 76throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 93throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\DistributionPointAsn.xml.cs (2)
75throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 92throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\DistributionPointNameAsn.xml.cs (3)
77throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 100throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 112throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\PolicyConstraintsAsn.xml.cs (2)
58throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 75throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\PolicyInformationAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.manual.cs (2)
41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (4)
86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 104throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 154throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 171throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\TimeAsn.xml.cs (3)
76throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 88throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 107throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
System\Security\Cryptography\X509Certificates\Asn1\ValidityAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\CertificatePolicy.cs (4)
300throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 332throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 363throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 386throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (4)
168throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 175throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 271throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 290throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.cs (1)
317throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Load.cs (5)
54throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 119throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 163throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 192throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (1)
169throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
418throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X500DirectoryStringHelper.cs (4)
16throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 60throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (1)
155throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X500NameEncoder.ManagedDecode.cs (2)
145throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 179throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
System\Security\Cryptography\X509Certificates\X500RelativeDistinguishedName.cs (1)
149throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (1)
270throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (1)
584throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.netcore.cs (1)
22ThrowWithHResult(SR.Cryptography_Der_Invalid_Encoding, CRYPT_E_BAD_DECODE);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.OpenSsl.cs (3)
22throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 42throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 119throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
System\Security\Cryptography\X509Certificates\X509EnhancedKeyUsageExtension.cs (1)
102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509KeyUsageExtension.cs (1)
76throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509SubjectAlternativeNameExtension.cs (1)
116throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (2)
114throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 119throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);