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

System.Security.Cryptography.Xml.Signature

public class Signature
Represents the <Signature> element of an XML signature.
public string Id { get; set; }

Gets or sets the ID of the current Signature.

public KeyInfo KeyInfo { get; set; }

Gets or sets the KeyInfo of the current Signature.

public IList ObjectList { get; set; }

Gets or sets a list of objects to be signed.

public byte[] SignatureValue { get; set; }

Gets or sets the value of the digital signature.

public SignedInfo SignedInfo { get; set; }

Gets or sets the SignedInfo of the current Signature.

public Signature()

Initializes a new instance of the Signature class.

public void AddObject(DataObject dataObject)

Adds a DataObject to the list of objects to be signed.

public XmlElement GetXml()

Returns the XML representation of the Signature.

public void LoadXml(XmlElement value)

Loads a Signature state from an XML element.