XmlDocumentDecryptor.DecryptDocumentAndCreateXmlReader(XmlDocument) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cria um leitor que pode descriptografar um documento XML criptografado.
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
Parâmetros
- document
- XmlDocument
O documento.
Retornos
Um XmlReader que pode ler o documento.
- Atributos