DSigSerializer.WriteSignature(XmlWriter, Signature) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the contents of a Signature as XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-Signature.
public virtual void WriteSignature (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Xml.Signature signature);
abstract member WriteSignature : System.Xml.XmlWriter * Microsoft.IdentityModel.Xml.Signature -> unit
override this.WriteSignature : System.Xml.XmlWriter * Microsoft.IdentityModel.Xml.Signature -> unit
Public Overridable Sub WriteSignature (writer As XmlWriter, signature As Signature)
Parameters
Exceptions
if signature
is null.
if one of the values in Transforms is null or empty.
Remarks
Assumes the <SignatureValue> has been calculated, no canonicalization or signature calculation is performed.