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