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

System.Security.Cryptography.Xml.XmlDecryptionTransform

Specifies the order of XML Digital Signature and XML Encryption operations when both are performed on the same document.
public EncryptedXml EncryptedXml { get; set; }

Gets or sets an EncryptedXml object that contains information about the keys necessary to decrypt an XML document.

Initializes a new instance of the XmlDecryptionTransform class.

public void AddExceptUri(string uri)

Adds a Uniform Resource Identifier (URI) to exclude from processing.

protected virtual bool IsTargetElement(XmlElement inputElement, string idValue)

Determines whether the ID attribute of an XmlElement object matches a specified value.