Share via


EncryptedXmlInfo(XElement, Type) Constructor

Definition

Creates an instance of an 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)

Parameters

encryptedElement
XElement

A piece of encrypted XML.

decryptorType
Type

The class whose Decrypt(XElement) method can be used to decrypt encryptedElement.

Applies to