Rediger

Del via


SamlSecurityTokenHandler.WriteSigningKeyInfo Method

Definition

Writes the Signing <ds:KeyInfo> element using the specified XML writer.

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

Parameters

writer
XmlWriter

The XmlWriter with which to serialize the key identifier.

signingKeyIdentifier
SecurityKeyIdentifier

The SecurityKeyIdentifier that represents the key identifier to write.

Exceptions

signingKeyIdentifier is null.

-or-

writer is null.

The handler cannot serialize the key identifier specified by signingKeyIdentifier.

Applies to