XmlDocumentDecryptor.DecryptDocumentAndCreateXmlReader(XmlDocument) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un lettore in grado di decrittografare un documento XML crittografato.
protected:
virtual System::Xml::XmlReader ^ DecryptDocumentAndCreateXmlReader(System::Xml::XmlDocument ^ document);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml which may contain XSLTs in the xml. XSLTs require dynamic code.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
protected virtual System.Xml.XmlReader DecryptDocumentAndCreateXmlReader(System.Xml.XmlDocument document);
protected virtual System.Xml.XmlReader DecryptDocumentAndCreateXmlReader(System.Xml.XmlDocument document);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml which may contain XSLTs in the xml. XSLTs require dynamic code.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
abstract member DecryptDocumentAndCreateXmlReader : System.Xml.XmlDocument -> System.Xml.XmlReader
override this.DecryptDocumentAndCreateXmlReader : System.Xml.XmlDocument -> System.Xml.XmlReader
abstract member DecryptDocumentAndCreateXmlReader : System.Xml.XmlDocument -> System.Xml.XmlReader
override this.DecryptDocumentAndCreateXmlReader : System.Xml.XmlDocument -> System.Xml.XmlReader
Protected Overridable Function DecryptDocumentAndCreateXmlReader (document As XmlDocument) As XmlReader
Parametri
- document
- XmlDocument
Documento.
Valori restituiti
XmlReader in grado di leggere il documento.
- Attributi