XmlDocumentDecryptor.CreateDecryptingXmlReader Metod

Definition

Skapar en XmlReader som dekrypterar data transparent.

public:
 System::Xml::XmlReader ^ CreateDecryptingXmlReader(System::IO::Stream ^ input, System::Xml::XmlReaderSettings ^ settings);
[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.")]
public System.Xml.XmlReader CreateDecryptingXmlReader(System.IO.Stream input, System.Xml.XmlReaderSettings? settings);
public System.Xml.XmlReader CreateDecryptingXmlReader(System.IO.Stream input, System.Xml.XmlReaderSettings? settings);
[<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.")>]
member this.CreateDecryptingXmlReader : System.IO.Stream * System.Xml.XmlReaderSettings -> System.Xml.XmlReader
member this.CreateDecryptingXmlReader : System.IO.Stream * System.Xml.XmlReaderSettings -> System.Xml.XmlReader
Public Function CreateDecryptingXmlReader (input As Stream, settings As XmlReaderSettings) As XmlReader

Parametrar

input
Stream

Indata Stream för att läsa XML-konfigurationsdata från.

settings
XmlReaderSettings

Inställningarna för den nya XmlReader instansen.

Returer

En XmlReader som dekrypterar data transparent.

Attribut

Gäller för