310 references to Cryptography_Der_Invalid_Encoding
System.Security.Cryptography (310)
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);
392
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 (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);
src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (4)
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);
src\libraries\Common\src\System\Security\Cryptography\Asn1\CurveAsn.xml.cs (2)
55
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
72
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DigestInfoAsn.xml.cs (2)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (3)
84
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
125
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
137
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DssParms.xml.cs (2)
50
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
67
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECDomainParameters.xml.cs (3)
60
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
83
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
95
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECPrivateKey.xml.cs (2)
66
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
83
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 (2)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
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);
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\GeneralNameAsn.xml.cs (5)
101
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
118
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
162
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
185
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
197
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLKemPrivateKeyAsn.xml.cs (2)
87
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
99
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\MLKemPrivateKeyBothAsn.xml.cs (2)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
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)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBES2Params.xml.cs (2)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
83
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
100
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (2)
76
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
88
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 (2)
81
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
98
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 (2)
55
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
72
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)
66
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
91
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
116
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
141
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
173
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
185
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\ContentInfoAsn.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\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)
76
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
88
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 (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\PssParamsAsn.xml.cs (2)
149
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
166
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (2)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPrivateKeyAsn.xml.cs (2)
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\RSAPublicKeyAsn.xml.cs (2)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\SpecifiedECDomain.xml.cs (3)
51
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
75
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
92
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (2)
48
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
65
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (3)
47
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
83
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
100
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1Reader\AsnValueReader.cs (2)
233
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
247
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
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\EccKeyFormatHelper.cs (19)
102
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
124
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
136
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
149
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
190
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
197
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
210
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
237
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
253
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
288
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
301
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
306
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
327
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
347
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
360
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
381
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
388
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
409
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
440
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\KeyBlobHelpers.cs (1)
31
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (4)
49
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
80
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
129
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
157
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (7)
113
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
142
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
298
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
329
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
356
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
398
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
434
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (5)
1698
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
1707
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
1719
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
1751
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
1764
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (17)
517
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
602
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
622
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
637
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
644
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
654
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
673
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
692
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
708
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
715
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
727
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
745
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
765
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
816
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
823
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
828
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
867
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)
27
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
86
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (2)
500
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
616
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (2)
1012
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
1077
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)
147
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
255
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
267
ThrowWithHResult(SR.
Cryptography_Der_Invalid_Encoding
, CRYPT_E_BAD_DECODE, e);
466
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
474
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
479
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
512
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
521
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
554
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
702
ThrowWithHResult(SR.
Cryptography_Der_Invalid_Encoding
, CRYPT_E_BAD_DECODE);
871
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
85
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
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\RSA.cs (2)
917
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
965
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)
79
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
96
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 (3)
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);
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)
77
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
100
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
112
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)
86
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
104
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
154
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
171
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\Asn1\TimeAsn.xml.cs (3)
76
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
88
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
107
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)
168
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
175
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
271
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
);
290
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 (5)
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);
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (1)
169
throw new CryptographicException(SR.
Cryptography_Der_Invalid_Encoding
, e);
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
418
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
);
119
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)
116
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);