513 references to CryptographicException
Microsoft.AspNetCore.DataProtection (3)
Error.cs (3)
31
return new
CryptographicException
(Resources.CryptCommon_GenericError, inner);
54
return new
CryptographicException
(Resources.Common_EncryptionFailed, inner);
76
return new
CryptographicException
(Resources.Common_DecryptionFailed, inner);
Microsoft.AspNetCore.DataProtection.Abstractions (1)
Error.cs (1)
14
return new
CryptographicException
(Resources.CryptCommon_GenericError, inner);
Microsoft.AspNetCore.DataProtection.Extensions (1)
TimeLimitedDataProtector.cs (1)
100
throw new
CryptographicException
(Resources.CryptCommon_GenericError, ex);
Mono.Cecil (2)
Mono.Security.Cryptography\CryptoConvert.cs (2)
142
throw new
CryptographicException
("Invalid blob.", e);
228
throw new
CryptographicException
("Invalid blob.", e);
NuGet.Packaging (1)
Signing\Signatures\PrimarySignature.cs (1)
167
throw new
CryptographicException
(Strings.UnexpectedPackageSignatureVerificationError, ex);
System.Security.Cryptography (265)
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (5)
98
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
127
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
310
throw new
CryptographicException
(ex.Message, ex);
333
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
404
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\Interop\Windows\BCrypt\AesBCryptModes.cs (1)
50
throw new
CryptographicException
(SR.Cryptography_FeedbackSizeNotSupported, ex);
src\runtime\src\libraries\Common\src\Interop\Windows\BCrypt\TripleDesBCryptModes.cs (1)
53
throw new
CryptographicException
(SR.Cryptography_FeedbackSizeNotSupported, ex);
src\runtime\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\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (8)
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);
src\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\src\libraries\Common\src\System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
81
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\AuthenticationTagMismatchException.cs (1)
43
:
base
(message ?? SR.Cryptography_AuthTagMismatch, inner)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngPkcs8.cs (8)
112
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
135
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
180
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
189
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
199
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
247
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
257
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
267
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (2)
47
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
110
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (3)
170
throw new
CryptographicException
(SR.Cryptography_HashLengthMismatch, ae);
213
throw new
CryptographicException
(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithmName), ex);
267
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, ace);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (4)
48
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
78
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
135
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
162
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (8)
143
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
180
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
325
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
350
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
375
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
398
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
430
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
466
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (3)
372
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
390
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
495
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
756
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
834
throw new
CryptographicException
(SR.Argument_InvalidValue, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Info.cs (1)
150
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
358
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
91
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (1)
51
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.cs (3)
662
throw new
CryptographicException
(SR.Arg_CryptographyException, e);
666
throw new
CryptographicException
(SR.Arg_CryptographyException, e);
695
throw new
CryptographicException
(message, innerException)
System\Security\Cryptography\CryptographicUnexpectedOperationException.cs (1)
25
:
base
(message ?? SR.Arg_CryptographyException, inner)
System\Security\Cryptography\EccKeyFormatHelper.cs (2)
86
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
274
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Helpers.cs (2)
197
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
357
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
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 (7)
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);
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.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 (2)
91
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
103
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
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\CertificatePal.Windows.Import.cs (1)
102
throw new
CryptographicException
(
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (1)
296
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.CdpExtension.cs (1)
96
throw new
CryptographicException
(SR.Cryptography_Invalid_IA5String, e);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Load.cs (1)
192
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
468
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\StorePal.Windows.Import.cs (1)
90
throw new
CryptographicException
(
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (1)
155
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X500RelativeDistinguishedName.cs (1)
149
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (2)
270
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
300
throw new
CryptographicException
(SR.Cryptography_Invalid_IA5String, e);
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (1)
584
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (4)
1925
throw new
CryptographicException
(SR.Cryptography_X509_NoOrMismatchedPemKey, ae);
1950
throw new
CryptographicException
(SR.Cryptography_X509_NoOrMismatchedPemKey, ae);
2044
throw new
CryptographicException
(SR.Cryptography_X509_NoOrMismatchedPemKey, ce);
2127
throw new
CryptographicException
(SR.Cryptography_X509_NoOrMismatchedPemKey, ce);
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 (1)
119
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\XmlKeyHelper.cs (1)
25
throw new
CryptographicException
(SR.Cryptography_FromXmlParseError, e);
System.Security.Cryptography.Cose (5)
System\Security\Cryptography\Cose\CborReaderExtensions.cs (1)
18
throw new
CryptographicException
(SR.DecodeErrorWhileDecodingSeeInnerEx, ex);
System\Security\Cryptography\Cose\CoseMessage.cs (4)
167
throw new
CryptographicException
(SR.DecodeErrorWhileDecodingSeeInnerEx, ex);
252
throw new
CryptographicException
(SR.DecodeErrorWhileDecodingSeeInnerEx, ex);
326
throw new
CryptographicException
(e.Message, e.InnerException);
330
throw new
CryptographicException
(SR.DecodeErrorWhileDecodingSeeInnerEx, e);
System.Security.Cryptography.Pkcs (233)
Internal\Cryptography\Pal\AnyOS\AsnHelpers.cs (1)
127
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (2)
63
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
135
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decrypt.cs (1)
168
throw new
CryptographicException
(SR.Cryptography_Cms_InvalidSymmetricKey, ce);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (1)
195
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
Internal\Cryptography\Pal\Windows\PkcsPalWindows.Encrypt.cs (1)
96
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (6)
98
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
127
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
207
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
310
throw new
CryptographicException
(ex.Message, ex);
333
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
404
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\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\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (8)
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);
src\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\OaepParamsAsn.xml.cs (2)
119
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
136
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\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\runtime\src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (2)
213
throw new
CryptographicException
(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithmName), ex);
267
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, ace);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (4)
48
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
78
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
135
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
162
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (8)
143
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
180
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
325
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
350
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
375
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
398
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
430
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
466
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
756
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
834
throw new
CryptographicException
(SR.Argument_InvalidValue, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Info.cs (1)
150
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
358
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
91
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\CadesIssuerSerial.xml.cs (2)
56
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
73
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\EnvelopedDataAsn.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\Pkcs\Asn1\EssCertId.xml.cs (2)
53
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
70
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\EssCertIdV2.xml.cs (2)
84
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
101
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientIdentifierAsn.xml.cs (2)
91
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
103
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientInfoAsn.xml.cs (2)
71
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
88
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\KeyTransRecipientInfoAsn.xml.cs (2)
52
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
69
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\MessageImprint.xml.cs (5)
48
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
65
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
115
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
137
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
154
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\OriginatorIdentifierOrKeyAsn.xml.cs (2)
102
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
114
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\OriginatorInfoAsn.xml.cs (3)
53
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
80
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
97
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\OriginatorPublicKeyAsn.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\Pkcs\Asn1\OtherKeyAttributeAsn.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\Pkcs\Asn1\PkiStatusInfo.xml.cs (3)
46
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\Pkcs\Asn1\PolicyInformation.xml.cs (3)
33
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
68
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
85
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\PolicyQualifierInfo.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\Pkcs\Asn1\RecipientEncryptedKeyAsn.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\Pkcs\Asn1\RecipientIdentifierAsn.xml.cs (2)
91
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
103
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\RecipientInfoAsn.xml.cs (2)
91
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
103
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\RecipientKeyIdentifier.xml.cs (2)
60
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
77
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161Accuracy.xml.cs (2)
65
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
82
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TimeStampReq.xml.cs (3)
59
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
115
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
132
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TimeStampResp.xml.cs (3)
36
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
60
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
77
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TstInfo.xml.cs (8)
59
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
130
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
147
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
300
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
341
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
356
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
379
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
396
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\SignedAttributesSet.xml.cs (2)
88
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
100
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\SigningCertificateAsn.xml.cs (2)
68
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
85
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\SigningCertificateV2Asn.xml.cs (2)
68
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
85
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
107
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\SignedCms.cs (2)
269
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
434
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
202
throw new
CryptographicException
($"An error occurred parsing the key components", ex);
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
133
throw new
CryptographicException
($"An error occurred parsing the {ModulusElementName} and {ExponentElementName} elements", ex);