Partilhar via


SamlSecurityTokenHandler.WriteSigningKeyInfo Método

Definição

Grava o elemento <ds:KeyInfo> de assinatura, usando o gravador de XML especificado.

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)

Parâmetros

writer
XmlWriter

O XmlWriter com o qual serializar o identificador de chave.

signingKeyIdentifier
SecurityKeyIdentifier

O SecurityKeyIdentifier que representa o identificador de chave a ser gravado.

Exceções

signingKeyIdentifier é null.

- ou -

writer é null.

O manipulador não é capaz de serializar o identificador de chave especificado por signingKeyIdentifier.

Aplica-se a