EncryptedXmlInfo(XElement, Type) 构造函数

定义

创建 EncryptedXmlInfo 的实例。

public:
 EncryptedXmlInfo(System::Xml::Linq::XElement ^ encryptedElement, Type ^ decryptorType);
public EncryptedXmlInfo (System.Xml.Linq.XElement encryptedElement, Type decryptorType);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo : System.Xml.Linq.XElement * Type -> Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo
Public Sub New (encryptedElement As XElement, decryptorType As Type)

参数

encryptedElement
XElement

一段加密的 XML。

decryptorType
Type

其 方法可用于解密 encryptedElementDecrypt(XElement)类。

适用于