Bewerken

Share via


Saml2SecurityTokenHandler.WriteSubjectKeyInfo Method

Definition

Serializes the Subject <ds:KeyInfo> element using the specified XML writer.

protected:
 virtual void WriteSubjectKeyInfo(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ data);
protected virtual void WriteSubjectKeyInfo (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifier data);
abstract member WriteSubjectKeyInfo : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityKeyIdentifier -> unit
override this.WriteSubjectKeyInfo : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityKeyIdentifier -> unit
Protected Overridable Sub WriteSubjectKeyInfo (writer As XmlWriter, data As SecurityKeyIdentifier)

Parameters

writer
XmlWriter

The XmlWriter with which to serialize the key identifier.

data
SecurityKeyIdentifier

The SecurityKeyIdentifier that represents the key identifier to write.

Exceptions

data is null.

-or-

writer is null.

Applies to