SamlSecurityTokenHandler.WriteSubjectKeyInfo 方法

定义

使用指定的 XML 编写器序列化主题 <ds:KeyInfo> 元素。

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)

参数

writer
XmlWriter

用于序列化密钥标识符的 XmlWriter

subjectSki
SecurityKeyIdentifier

表示要写入的密钥标识符的 SecurityKeyIdentifier

例外

subjectSkinull

writernull

适用于