Partilhar via


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

Parâmetros

writer
XmlWriter

O XmlWriter com o qual serializar o identificador de chave.

subjectSki
SecurityKeyIdentifier

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

Exceções

subjectSki é null.

- ou -

writer é null.

Aplica-se a