XmlDocumentDecryptor.DecryptDocumentAndCreateXmlReader(XmlDocument) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee maakt u een lezer die een versleuteld XML-document kan ontsleutelen.
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
Parameters
- document
- XmlDocument
Het document.
Retouren
Een XmlReader die het document kan lezen.
- Kenmerken