Edit

Share via


Signature.LoadXml(XmlElement) Method

Definition

Loads a Signature state from an XML element.

public:
 void LoadXml(System::Xml::XmlElement ^ value);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")]
public void LoadXml(System.Xml.XmlElement value);
public void LoadXml(System.Xml.XmlElement value);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")>]
member this.LoadXml : System.Xml.XmlElement -> unit
member this.LoadXml : System.Xml.XmlElement -> unit
Public Sub LoadXml (value As XmlElement)

Parameters

value
XmlElement

The XML element from which to load the Signature state.

Attributes

Exceptions

The value parameter is null.

The value parameter does not contain a valid SignatureValue.

-or-

The value parameter does not contain a valid SignedInfo.

Applies to

See also