<PackageReference Include="System.Security.Cryptography.Xml" Version="11.0.0-preview.7.26381.103" />

System.Security.Cryptography.Xml.EncryptionProperty

public sealed class EncryptionProperty
Represents the <EncryptionProperty> element used in XML encryption. This class cannot be inherited.
public string Id { get; }

Gets the ID of the current EncryptionProperty object.

public XmlElement PropertyElement { get; set; }

Gets or sets an XmlElement object that represents an EncryptionProperty object.

public string Target { get; }

Gets the target of the EncryptionProperty object.

Initializes a new instance of the EncryptionProperty class.

public EncryptionProperty(XmlElement elementProperty)

Initializes a new instance of the EncryptionProperty class using an XmlElement object.

public XmlElement GetXml()

Returns an XmlElement object that encapsulates an instance of the EncryptionProperty class.

public void LoadXml(XmlElement value)

Parses the input XmlElement and configures the internal state of the EncryptionProperty object to match.