DSigSerializer.WriteKeyInfo(XmlWriter, KeyInfo) 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 KeyInfo as XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-KeyInfo.
public virtual void WriteKeyInfo (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Xml.KeyInfo keyInfo);
abstract member WriteKeyInfo : System.Xml.XmlWriter * Microsoft.IdentityModel.Xml.KeyInfo -> unit
override this.WriteKeyInfo : System.Xml.XmlWriter * Microsoft.IdentityModel.Xml.KeyInfo -> unit
Public Overridable Sub WriteKeyInfo (writer As XmlWriter, keyInfo As KeyInfo)
Parameters
Exceptions
if keyInfo
is null.
if there is a problem writing the XML.