Edit

Share via


SamlSecurityTokenHandler.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 ^ subjectSki);
protected virtual void WriteSubjectKeyInfo (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifier subjectSki);
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, subjectSki As SecurityKeyIdentifier)

Parameters

writer
XmlWriter

The XmlWriter with which to serialize the key identifier.

subjectSki
SecurityKeyIdentifier

The SecurityKeyIdentifier that represents the key identifier to write.

Exceptions

subjectSki is null.

-or-

writer is null.

Applies to