Partager via


DSigSerializer.WriteKeyInfo(XmlWriter, KeyInfo) Method

Definition

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

writer
XmlWriter

the XmlWriter to use.

keyInfo
KeyInfo

the KeyInfoto write.

Exceptions

if keyInfo is null.

if there is a problem writing the XML.

Applies to