359 references to Cryptography_Der_Invalid_Encoding
System.Security.Cryptography (359)
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); 395throw 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 (8)
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); 141throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 153throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 176throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 193throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (9)
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); 144throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 153throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 174throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 191throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 204throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\Asn1\CurveAsn.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\DigestInfoAsn.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (3)
99throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 140throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 152throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DssParms.xml.cs (2)
49throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 66throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECDomainParameters.xml.cs (3)
86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 108throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 120throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECPrivateKey.xml.cs (2)
87throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 104throw 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 (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw 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); 41throw 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)
116throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 133throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 177throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 212throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLDsaPrivateKeyAsn.xml.cs (2)
134throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLDsaPrivateKeyBothAsn.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLKemPrivateKeyAsn.xml.cs (2)
134throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLKemPrivateKeyBothAsn.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw 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)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBES2Params.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 101throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (2)
112throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 124throw 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 (4)
84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 101throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 201throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 218throw 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 (4)
55throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 72throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 156throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 173throw 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)
81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 106throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 131throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 156throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 188throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\ContentInfoAsn.xml.cs (8)
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); 127throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 137throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 159throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 176throw 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)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw 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 (5)
65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 82throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 179throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 202throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 219throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
150throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 167throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 134throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 151throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPrivateKeyAsn.xml.cs (2)
61throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 78throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPublicKeyAsn.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\SpecifiedECDomain.xml.cs (3)
62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 85throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (6)
50throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 165throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 217throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\AsnWriter\AsnWriterExtensions.cs (2)
20throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 34throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.ECDsa.cs (2)
72throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 78throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
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\Helpers.cs (2)
267throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, ace); 272throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\KeyBlobHelpers.cs (1)
52throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (4)
34throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 63throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 99throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 124throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (7)
73throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 254throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 279throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 304throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 346throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 382throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (5)
1389throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 2216throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 2225throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 2237throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 2269throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (4)
1702throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 1711throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 1723throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 1755throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (17)
545throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 633throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 656throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 674throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 681throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 692throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 711throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 733throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 749throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 756throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 768throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 786throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 806throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 857throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 864throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 869throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 908throw 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)
25throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 51throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (2)
488throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 598throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
1297throw 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)
149throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 257throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 269ThrowWithHResult(SR.Cryptography_Der_Invalid_Encoding, CRYPT_E_BAD_DECODE, e); 512throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 520throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 525throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 558throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 567throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 602throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 1017ThrowWithHResult(SR.Cryptography_Der_Invalid_Encoding, CRYPT_E_BAD_DECODE); 1186throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
System\Security\Cryptography\EccKeyFormatHelper.cs (19)
86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 108throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 120throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 133throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 175throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 182throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 195throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 223throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 239throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 274throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 287throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 292throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 313throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 333throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 346throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 367throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 374throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 395throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 426throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
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\KeyBlobHelpers.cs (1)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
System\Security\Cryptography\RSA.cs (2)
905throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 932throw 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)
82throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 99throw 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 (8)
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); 171throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 181throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 202throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 219throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 239throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
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)
92throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 115throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 127throw 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)
89throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 107throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 157throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 174throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\TimeAsn.xml.cs (3)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 122throw 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)
163throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 170throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 286throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 296throw 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 (6)
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); 289throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (1)
169throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
470throw 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); 128throw 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)
144throw 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);