Szerkesztés

Megosztás a következőn keresztül:


Saml2SecurityTokenHandler.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 ^ data);
protected virtual void WriteSigningKeyInfo (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifier data);
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, 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

signingKeyIdentifier is null.

-or-

writer is null.

The handler cannot serialize the key identifier specified by signingKeyIdentifier.

Applies to