442 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)
99
throw new
CryptographicException
(Resources.CryptCommon_GenericError, ex);
System.Net.Security (2)
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);
System.Security.Cryptography (237)
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);
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.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\AuthenticationTagMismatchException.cs (1)
43
:
base
(message ?? SR.Cryptography_AuthTagMismatch, inner)
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\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (2)
102
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
288
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
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 (8)
113
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
149
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
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);
379
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
411
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
447
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
715
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
793
throw new
CryptographicException
(SR.Argument_InvalidValue, e);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Info.cs (1)
150
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
303
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
91
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (1)
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\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\AsymmetricAlgorithmHelpers.Der.cs (1)
85
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\CryptographicUnexpectedOperationException.cs (1)
25
:
base
(message ?? SR.Arg_CryptographyException, inner)
System\Security\Cryptography\Helpers.cs (2)
196
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
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.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 (2)
76
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
88
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\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 (1)
290
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\ManagedCertificateFinder.cs (1)
169
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\OpenSslDirectoryBasedStoreProvider.cs (4)
130
throw new
CryptographicException
(SR.Cryptography_X509_StoreAddFailure, e);
348
throw new
CryptographicException
(e.Message, e);
369
throw new
CryptographicException
(
398
throw new
CryptographicException
(msg, new PlatformNotSupportedException(msg));
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (2)
67
throw new
CryptographicException
(
97
throw new
CryptographicException
(
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
418
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\StorePal.OpenSsl.cs (4)
56
throw new
CryptographicException
(
125
throw new
CryptographicException
(
157
throw new
CryptographicException
(
176
throw new
CryptographicException
(
System\Security\Cryptography\X509Certificates\UnsupportedDisallowedStore.cs (1)
45
throw new
CryptographicException
(
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (1)
155
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X500NameEncoder.cs (1)
522
throw new
CryptographicException
(SR.Cryptography_Invalid_X500Name, e);
System\Security\Cryptography\X509Certificates\X500NameEncoder.ManagedDecode.cs (1)
145
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 (2)
1814
throw new
CryptographicException
(SR.Cryptography_X509_NoOrMismatchedPemKey, ae);
1844
throw new
CryptographicException
(SR.Cryptography_X509_NoOrMismatchedPemKey, ae);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (4)
580
throw new
CryptographicException
(SR.Cryptography_NotValidPrivateKey, nse);
644
throw new
CryptographicException
(SR.Cryptography_NotValidPrivateKey, nse);
667
throw new
CryptographicException
(SR.Cryptography_NotValidPrivateKey, nse);
698
throw new
CryptographicException
(SR.Cryptography_NotValidPrivateKey, nse);
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 (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 (2)
System\Security\Cryptography\Cose\CoseMessage.cs (2)
167
throw new
CryptographicException
(SR.DecodeErrorWhileDecodingSeeInnerEx, ex);
252
throw new
CryptographicException
(SR.DecodeErrorWhileDecodingSeeInnerEx, ex);
System.Security.Cryptography.Pkcs (194)
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);
131
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);
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);
392
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\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\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\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\OaepParamsAsn.xml.cs (2)
116
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
133
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.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\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\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 (8)
113
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
149
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
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);
379
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
411
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
447
throw new
CryptographicException
(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
715
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
793
throw new
CryptographicException
(SR.Argument_InvalidValue, e);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Info.cs (1)
150
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
303
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
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)
81
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
98
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientIdentifierAsn.xml.cs (2)
76
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
88
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 (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\OriginatorIdentifierOrKeyAsn.xml.cs (2)
87
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
99
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)
76
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
88
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\RecipientInfoAsn.xml.cs (2)
76
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
88
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)
56
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
112
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
129
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 (3)
56
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
127
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
144
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\SignedAttributesSet.xml.cs (2)
73
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
85
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\CmsSigner.cs (1)
216
throw new
CryptographicException
(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithmName), ex);
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
107
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\SignedCms.cs (2)
281
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
447
throw new
CryptographicException
(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\SignerInfo.cs (1)
574
throw new
CryptographicException
(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithmName), ex);
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);