33 references to LocalAppContextSwitches
System.Security.Cryptography.Xml (33)
System\Security\Cryptography\Xml\CanonicalizationDispatcher.cs (2)
18int maxDepth = LocalAppContextSwitches.DangerousMaxRecursionDepth; 55int maxDepth = LocalAppContextSwitches.DangerousMaxRecursionDepth;
System\Security\Cryptography\Xml\CanonicalXml.cs (1)
21long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth;
System\Security\Cryptography\Xml\EncryptedType.cs (1)
82int maxDepth = LocalAppContextSwitches.DangerousMaxRecursionDepth;
System\Security\Cryptography\Xml\EncryptedXml.cs (7)
880long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth; 908long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth; 909bool allowDtdProcessing = LocalAppContextSwitches.CryptoXmlAllowDtdProcessing; 1055if (LocalAppContextSwitches.AllowDangerousEncryptedXmlTransforms) 1125int maxDecryptionCount = LocalAppContextSwitches.DangerousMaxDecryptionCount; 1144int maxDecryptedDataElements = LocalAppContextSwitches.MaxDecryptedDataElements; 1163int maxDecryptionCount = LocalAppContextSwitches.DangerousMaxDecryptionCount;
System\Security\Cryptography\Xml\ExcCanonicalXml.cs (1)
21long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth;
System\Security\Cryptography\Xml\SignedInfo.cs (1)
258if (referenceNodes.Count > LocalAppContextSwitches.MaxReferencesPerSignedInfo)
System\Security\Cryptography\Xml\SignedXml.cs (3)
120long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth; 236long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth; 1135if (LocalAppContextSwitches.AllowUnsafeTruncatedHmacSignatureVerification)
System\Security\Cryptography\Xml\TransformChain.cs (2)
88long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth; 196int maxTransforms = LocalAppContextSwitches.MaxTransformsPerChain;
System\Security\Cryptography\Xml\Utils.cs (7)
28/// <see cref="LocalAppContextSwitches.DangerousMaxCanonicalizationAttributesPerElement"/>. 37int maxAttributes = LocalAppContextSwitches.DangerousMaxCanonicalizationAttributesPerElement; 206settings.DtdProcessing = LocalAppContextSwitches.CryptoXmlAllowDtdProcessing 449settings.DtdProcessing = LocalAppContextSwitches.CryptoXmlAllowDtdProcessing 455long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth; 479settings.DtdProcessing = LocalAppContextSwitches.CryptoXmlAllowDtdProcessing 485long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth;
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (4)
153long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth; 193long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth; 194bool allowDtdProcessing = LocalAppContextSwitches.CryptoXmlAllowDtdProcessing; 236int maxDepth = LocalAppContextSwitches.DangerousMaxRecursionDepth;
System\Security\Cryptography\Xml\XmlDsigEnvelopedSignatureTransform.cs (1)
84long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth;
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
140long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth;
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (2)
90long maxDepth = LocalAppContextSwitches.CryptoXmlMaxInputDocumentDepth; 91bool allowDtdProcessing = LocalAppContextSwitches.CryptoXmlAllowDtdProcessing;