Compartilhar via


Saml2SecurityTokenHandler.WriteSubjectKeyInfo Método

Definição

Serializa o elemento <ds:KeyInfo> de entidade, usando o gravador de XML especificado.

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

Parâmetros

writer
XmlWriter

O XmlWriter com o qual serializar o identificador de chave.

data
SecurityKeyIdentifier

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

Exceções

data é null.

- ou -

writer é null.

Aplica-se a