359 references to Cryptography_Der_Invalid_Encoding
System.Security.Cryptography (359)
src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (9)
70
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
91
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
98
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
120
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
127
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
135
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
326
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
333
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
395
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ASN1.GetIntegerBytes.cs (1)
47
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.xml.cs (8)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
43
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
67
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
84
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
141
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
153
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
176
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
193
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (9)
33
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
45
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
70
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
87
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
144
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
153
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
174
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
191
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
204
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\Asn1\CurveAsn.xml.cs (2)
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
82
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DigestInfoAsn.xml.cs (4)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
129
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
146
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (3)
99
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
140
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
152
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DssParms.xml.cs (2)
49
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
66
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECDomainParameters.xml.cs (3)
86
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
108
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
120
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECPrivateKey.xml.cs (2)
87
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
104
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\EdiPartyNameAsn.xml.cs (2)
57
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
74
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\EncryptedPrivateKeyInfoAsn.xml.cs (4)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
129
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
146
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\FieldID.xml.cs (4)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
41
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
62
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
79
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (5)
116
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
133
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
177
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
200
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
212
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLDsaPrivateKeyAsn.xml.cs (2)
134
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
146
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLDsaPrivateKeyBothAsn.xml.cs (2)
47
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
64
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLKemPrivateKeyAsn.xml.cs (2)
134
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
146
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLKemPrivateKeyBothAsn.xml.cs (2)
47
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
64
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\OtherNameAsn.xml.cs (4)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
41
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
64
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
81
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (2)
47
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
64
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBES2Params.xml.cs (2)
47
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
64
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
84
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
101
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (2)
112
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
124
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\CertBagAsn.xml.cs (4)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
41
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
64
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
81
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (4)
84
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
101
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
201
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
218
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
55
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.xml.cs (4)
55
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
72
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
156
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
173
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SafeBagAsn.xml.cs (4)
34
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
43
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
79
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
96
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SecretBagAsn.xml.cs (4)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
41
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
64
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
81
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\CertificateChoiceAsn.xml.cs (6)
81
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
106
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
131
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
156
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
188
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
200
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\ContentInfoAsn.xml.cs (8)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
41
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
64
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
81
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
127
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
137
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
159
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
176
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncapsulatedContentInfoAsn.xml.cs (4)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
44
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
69
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
86
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedContentInfoAsn.xml.cs (3)
33
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
62
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
79
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (2)
63
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
80
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\IssuerAndSerialNumberAsn.xml.cs (3)
41
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
64
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
81
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\OtherCertificateFormat.xml.cs (4)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
40
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
62
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
79
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignedDataAsn.xml.cs (3)
67
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
102
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
119
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerIdentifierAsn.xml.cs (2)
91
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
103
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerInfoAsn.xml.cs (3)
53
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
92
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
109
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (5)
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
82
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
179
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
202
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
219
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
150
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
167
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (4)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
134
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
151
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPrivateKeyAsn.xml.cs (2)
61
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
78
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPublicKeyAsn.xml.cs (2)
47
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
64
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\SpecifiedECDomain.xml.cs (3)
62
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
85
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
102
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (4)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
129
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
146
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (6)
50
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
86
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
103
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
165
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
200
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
217
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\AsnWriter\AsnWriterExtensions.cs (2)
20
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
34
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
81
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.ECDsa.cs (2)
72
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
78
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (8)
25
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
39
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
47
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
67
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
91
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
105
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
110
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
130
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (2)
267
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, ace);
272
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\KeyBlobHelpers.cs (1)
52
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (4)
34
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
63
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
99
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
124
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (7)
73
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
102
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
254
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
279
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
304
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
346
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
382
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (5)
1389
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
2216
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
2225
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
2237
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
2269
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (4)
1702
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
1711
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
1723
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
1755
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (17)
545
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
633
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
656
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
674
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
681
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
692
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
711
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
733
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
749
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
756
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
768
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
786
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
806
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
857
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
864
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
869
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
908
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (1)
112
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Info.cs (4)
66
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
98
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
104
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
150
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (5)
59
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
220
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
228
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
233
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
303
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (3)
91
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
192
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
223
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (2)
25
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
51
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (2)
488
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
598
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
1297
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.cs (2)
599
ThrowWithHResult(SR.
Cryptography_Der_Invalid_Encoding
, CRYPT_E_BAD_DECODE);
638
ThrowWithHResult(SR.
Cryptography_Der_Invalid_Encoding
, CRYPT_E_BAD_DECODE);
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (11)
149
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
257
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
269
ThrowWithHResult(SR.
Cryptography_Der_Invalid_Encoding
, CRYPT_E_BAD_DECODE, e);
512
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
520
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
525
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
558
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
567
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
602
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
1017
ThrowWithHResult(SR.
Cryptography_Der_Invalid_Encoding
, CRYPT_E_BAD_DECODE);
1186
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\EccKeyFormatHelper.cs (19)
86
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
108
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
120
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
133
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
175
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
182
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
195
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
223
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
239
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
274
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
287
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
292
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
313
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
333
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
346
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
367
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
374
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
395
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
426
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\Helpers.cs (6)
174
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
189
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
196
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
301
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
308
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
326
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\KeyBlobHelpers.cs (1)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\RSA.cs (2)
905
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
932
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\AccessDescriptionAsn.xml.cs (3)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
55
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
72
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\BasicConstraintsAsn.xml.cs (2)
82
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
99
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificateAsn.xml.cs (2)
50
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
67
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificatePolicyMappingAsn.xml.cs (4)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
40
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
62
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
79
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificateTemplateAsn.xml.cs (3)
33
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
62
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
79
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestAsn.xml.cs (2)
50
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
67
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestInfoAsn.xml.cs (8)
45
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
76
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
93
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
171
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
181
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
202
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
219
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
239
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\X509Certificates\Asn1\DistributionPointAsn.xml.cs (2)
75
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
92
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\DistributionPointNameAsn.xml.cs (3)
92
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
115
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
127
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\PolicyConstraintsAsn.xml.cs (2)
58
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
75
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\PolicyInformationAsn.xml.cs (4)
32
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
43
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
67
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
84
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.manual.cs (2)
41
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (4)
89
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
107
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
157
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
174
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\TimeAsn.xml.cs (3)
91
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
103
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
122
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\X509Certificates\Asn1\ValidityAsn.xml.cs (2)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\CertificatePolicy.cs (4)
300
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
332
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
363
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
386
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (4)
163
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
170
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
286
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
296
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.cs (1)
317
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Load.cs (6)
54
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
103
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
119
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
163
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
192
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
289
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (1)
169
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
470
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\X500DirectoryStringHelper.cs (4)
16
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
33
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
43
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
60
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (1)
155
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\X500NameEncoder.ManagedDecode.cs (2)
145
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
179
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\X509Certificates\X500RelativeDistinguishedName.cs (1)
149
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (1)
270
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (1)
584
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.netcore.cs (1)
22
ThrowWithHResult(SR.
Cryptography_Der_Invalid_Encoding
, CRYPT_E_BAD_DECODE);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.OpenSsl.cs (3)
22
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
42
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
128
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\X509Certificates\X509EnhancedKeyUsageExtension.cs (1)
102
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\X509KeyUsageExtension.cs (1)
76
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\X509SubjectAlternativeNameExtension.cs (1)
144
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (2)
114
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
119
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);