DSigSerializer.WriteReference(XmlWriter, Reference) 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 Reference as XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-Reference.
public virtual void WriteReference (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Xml.Reference reference);
abstract member WriteReference : System.Xml.XmlWriter * Microsoft.IdentityModel.Xml.Reference -> unit
override this.WriteReference : System.Xml.XmlWriter * Microsoft.IdentityModel.Xml.Reference -> unit
Public Overridable Sub WriteReference (writer As XmlWriter, reference As Reference)
Parameters
Exceptions
if reference
is null.
if one of the values in Transforms is null or empty.
Remarks
Assumes the <DigestValue> has been calculated, no canonicalization or digest calculation is performed.