513 references to CryptographicException
Microsoft.AspNetCore.DataProtection (3)
Error.cs (3)
31return new CryptographicException(Resources.CryptCommon_GenericError, inner); 54return new CryptographicException(Resources.Common_EncryptionFailed, inner); 76return new CryptographicException(Resources.Common_DecryptionFailed, inner);
Microsoft.AspNetCore.DataProtection.Abstractions (1)
Error.cs (1)
14return new CryptographicException(Resources.CryptCommon_GenericError, inner);
Microsoft.AspNetCore.DataProtection.Extensions (1)
TimeLimitedDataProtector.cs (1)
100throw 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)
167throw new CryptographicException(Strings.UnexpectedPackageSignatureVerificationError, ex);
System.Security.Cryptography (265)
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (5)
98throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 127throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 310throw new CryptographicException(ex.Message, ex); 333throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 404throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\Interop\Windows\BCrypt\AesBCryptModes.cs (1)
50throw new CryptographicException(SR.Cryptography_FeedbackSizeNotSupported, ex);
src\runtime\src\libraries\Common\src\Interop\Windows\BCrypt\TripleDesBCryptModes.cs (1)
53throw new CryptographicException(SR.Cryptography_FeedbackSizeNotSupported, ex);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.xml.cs (8)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 141throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 153throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 176throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 193throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (8)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 45throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 70throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 87throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 144throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 153throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 174throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 191throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\CurveAsn.xml.cs (2)
65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 82throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\DigestInfoAsn.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (3)
99throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 140throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 152throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\DssParms.xml.cs (2)
49throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 66throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\ECDomainParameters.xml.cs (3)
86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 108throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 120throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\ECPrivateKey.xml.cs (2)
87throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 104throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\EdiPartyNameAsn.xml.cs (2)
57throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 74throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\EncryptedPrivateKeyInfoAsn.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\FieldID.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (5)
116throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 133throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 177throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 212throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\MLDsaPrivateKeyAsn.xml.cs (2)
134throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\MLDsaPrivateKeyBothAsn.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\MLKemPrivateKeyAsn.xml.cs (2)
134throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\MLKemPrivateKeyBothAsn.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\OtherNameAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\PBES2Params.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 101throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (2)
112throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 124throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\CertBagAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (4)
84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 101throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 201throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 218throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.xml.cs (4)
55throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 72throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 156throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 173throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SafeBagAsn.xml.cs (4)
34throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 96throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SecretBagAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\CertificateChoiceAsn.xml.cs (6)
81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 106throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 131throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 156throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 188throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\ContentInfoAsn.xml.cs (8)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 127throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 137throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 159throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 176throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncapsulatedContentInfoAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 44throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 69throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedContentInfoAsn.xml.cs (3)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (2)
63throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 80throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\IssuerAndSerialNumberAsn.xml.cs (3)
41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\OtherCertificateFormat.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 40throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignedDataAsn.xml.cs (3)
67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 119throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerIdentifierAsn.xml.cs (2)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerInfoAsn.xml.cs (3)
53throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 92throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 109throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (5)
65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 82throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 179throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 202throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 219throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
150throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 167throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 134throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 151throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPrivateKeyAsn.xml.cs (2)
61throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 78throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPublicKeyAsn.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\SpecifiedECDomain.xml.cs (3)
62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 85throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (6)
50throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 165throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 217throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\AsnWriter\AsnWriterExtensions.cs (2)
20throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 34throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
81throw 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)
112throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 135throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 180throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 189throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 199throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 247throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 257throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 267throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 110throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (3)
170throw new CryptographicException(SR.Cryptography_HashLengthMismatch, ae); 213throw new CryptographicException(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithmName), ex); 267throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, ace);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 78throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 135throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 162throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (8)
143throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 180throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 325throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 350throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 375throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 398throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 430throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 466throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (3)
372throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 390throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 495throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
756throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 834throw new CryptographicException(SR.Argument_InvalidValue, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Info.cs (1)
150throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
358throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (1)
51throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.cs (3)
662throw new CryptographicException(SR.Arg_CryptographyException, e); 666throw new CryptographicException(SR.Arg_CryptographyException, e); 695throw new CryptographicException(message, innerException)
System\Security\Cryptography\CryptographicUnexpectedOperationException.cs (1)
25: base(message ?? SR.Arg_CryptographyException, inner)
System\Security\Cryptography\EccKeyFormatHelper.cs (2)
86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 274throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Helpers.cs (2)
197throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 357throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\RSA.cs (2)
905throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 932throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\AccessDescriptionAsn.xml.cs (3)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 55throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 72throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\BasicConstraintsAsn.xml.cs (2)
82throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 99throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificateAsn.xml.cs (2)
50throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificatePolicyMappingAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 40throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificateTemplateAsn.xml.cs (3)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestAsn.xml.cs (2)
50throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestInfoAsn.xml.cs (7)
45throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 76throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 93throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 171throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 181throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 202throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 219throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\PolicyConstraintsAsn.xml.cs (2)
58throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 75throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\PolicyInformationAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (4)
89throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 107throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 157throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 174throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\TimeAsn.xml.cs (2)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\Asn1\ValidityAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.Import.cs (1)
102throw new CryptographicException(
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (1)
296throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.CdpExtension.cs (1)
96throw new CryptographicException(SR.Cryptography_Invalid_IA5String, e);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Load.cs (1)
192throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
468throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\StorePal.Windows.Import.cs (1)
90throw new CryptographicException(
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (1)
155throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X500RelativeDistinguishedName.cs (1)
149throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (2)
270throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 300throw new CryptographicException(SR.Cryptography_Invalid_IA5String, e);
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (1)
584throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (4)
1925throw new CryptographicException(SR.Cryptography_X509_NoOrMismatchedPemKey, ae); 1950throw new CryptographicException(SR.Cryptography_X509_NoOrMismatchedPemKey, ae); 2044throw new CryptographicException(SR.Cryptography_X509_NoOrMismatchedPemKey, ce); 2127throw new CryptographicException(SR.Cryptography_X509_NoOrMismatchedPemKey, ce);
System\Security\Cryptography\X509Certificates\X509EnhancedKeyUsageExtension.cs (1)
102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509KeyUsageExtension.cs (1)
76throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509SubjectAlternativeNameExtension.cs (1)
144throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (1)
119throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\XmlKeyHelper.cs (1)
25throw new CryptographicException(SR.Cryptography_FromXmlParseError, e);
System.Security.Cryptography.Cose (5)
System\Security\Cryptography\Cose\CborReaderExtensions.cs (1)
18throw new CryptographicException(SR.DecodeErrorWhileDecodingSeeInnerEx, ex);
System\Security\Cryptography\Cose\CoseMessage.cs (4)
167throw new CryptographicException(SR.DecodeErrorWhileDecodingSeeInnerEx, ex); 252throw new CryptographicException(SR.DecodeErrorWhileDecodingSeeInnerEx, ex); 326throw new CryptographicException(e.Message, e.InnerException); 330throw new CryptographicException(SR.DecodeErrorWhileDecodingSeeInnerEx, e);
System.Security.Cryptography.Pkcs (233)
Internal\Cryptography\Pal\AnyOS\AsnHelpers.cs (1)
127throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (2)
63throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 135throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decrypt.cs (1)
168throw new CryptographicException(SR.Cryptography_Cms_InvalidSymmetricKey, ce);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (1)
195throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
Internal\Cryptography\Pal\Windows\PkcsPalWindows.Encrypt.cs (1)
96throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (6)
98throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 127throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 207throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 310throw new CryptographicException(ex.Message, ex); 333throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 404throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.xml.cs (8)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 141throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 153throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 176throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 193throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (8)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 45throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 70throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 87throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 144throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 153throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 174throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 191throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\DigestInfoAsn.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (3)
99throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 140throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 152throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\EdiPartyNameAsn.xml.cs (2)
57throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 74throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\EncryptedPrivateKeyInfoAsn.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (5)
116throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 133throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 177throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 212throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\OaepParamsAsn.xml.cs (2)
119throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 136throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\OtherNameAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\PBES2Params.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 101throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (2)
112throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 124throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\CertBagAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (4)
84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 101throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 201throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 218throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.xml.cs (4)
55throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 72throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 156throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 173throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SafeBagAsn.xml.cs (4)
34throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 96throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SecretBagAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\CertificateChoiceAsn.xml.cs (6)
81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 106throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 131throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 156throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 188throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\ContentInfoAsn.xml.cs (8)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 127throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 137throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 159throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 176throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncapsulatedContentInfoAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 44throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 69throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedContentInfoAsn.xml.cs (3)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (2)
63throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 80throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\IssuerAndSerialNumberAsn.xml.cs (3)
41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\OtherCertificateFormat.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 40throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignedDataAsn.xml.cs (3)
67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 119throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerIdentifierAsn.xml.cs (2)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerInfoAsn.xml.cs (3)
53throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 92throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 109throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (5)
65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 82throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 179throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 202throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 219throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
150throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 167throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 134throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 151throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (6)
50throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 165throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 217throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\AsnWriter\AsnWriterExtensions.cs (2)
20throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 34throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (2)
213throw new CryptographicException(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithmName), ex); 267throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, ace);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 78throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 135throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 162throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (8)
143throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 180throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 325throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 350throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 375throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 398throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 430throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 466throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
756throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 834throw new CryptographicException(SR.Argument_InvalidValue, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Info.cs (1)
150throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
358throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\CadesIssuerSerial.xml.cs (2)
56throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 73throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\EnvelopedDataAsn.xml.cs (2)
79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 96throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\EssCertId.xml.cs (2)
53throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 70throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\EssCertIdV2.xml.cs (2)
84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 101throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientIdentifierAsn.xml.cs (2)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientInfoAsn.xml.cs (2)
71throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 88throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\KeyTransRecipientInfoAsn.xml.cs (2)
52throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 69throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\MessageImprint.xml.cs (5)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 115throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 137throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 154throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\OriginatorIdentifierOrKeyAsn.xml.cs (2)
102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 114throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\OriginatorInfoAsn.xml.cs (3)
53throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 80throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 97throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\OriginatorPublicKeyAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\OtherKeyAttributeAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\PkiStatusInfo.xml.cs (3)
46throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 76throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 93throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\PolicyInformation.xml.cs (3)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 68throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 85throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\PolicyQualifierInfo.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 40throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\RecipientEncryptedKeyAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\RecipientIdentifierAsn.xml.cs (2)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\RecipientInfoAsn.xml.cs (2)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\RecipientKeyIdentifier.xml.cs (2)
60throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 77throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161Accuracy.xml.cs (2)
65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 82throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TimeStampReq.xml.cs (3)
59throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 115throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 132throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TimeStampResp.xml.cs (3)
36throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 60throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 77throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TstInfo.xml.cs (8)
59throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 130throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 147throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 300throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 341throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 356throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 379throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 396throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\SignedAttributesSet.xml.cs (2)
88throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 100throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\SigningCertificateAsn.xml.cs (2)
68throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 85throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\SigningCertificateV2Asn.xml.cs (2)
68throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 85throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
107throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\SignedCms.cs (2)
269throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 434throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
202throw new CryptographicException($"An error occurred parsing the key components", ex);
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
133throw new CryptographicException($"An error occurred parsing the {ModulusElementName} and {ExponentElementName} elements", ex);