Saml2SecurityTokenHandler.WriteSigningKeyInfo(XmlWriter, SecurityKeyIdentifier) Método

Definição

Grava o elemento <ds:KeyInfo> de assinatura, usando o gravador de XML especificado.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)

Parâmetros

writer
XmlWriter

O XmlWriter com o qual serializar o identificador de chave.The XmlWriter with which to serialize the key identifier.

data
SecurityKeyIdentifier

O SecurityKeyIdentifier que representa o identificador de chave a ser gravado.The SecurityKeyIdentifier that represents the key identifier to write.

Exceções

signingKeyIdentifier é null.signingKeyIdentifier is null.

- ou --or- writer é null.writer is null.

O manipulador não é capaz de serializar o identificador de chave especificado por signingKeyIdentifier.The handler cannot serialize the key identifier specified by signingKeyIdentifier.

Aplica-se a