Saml2SecurityTokenHandler.WriteSubjectKeyInfo 方法

定义

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

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)

参数

writer
XmlWriter

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

data
SecurityKeyIdentifier

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

例外

datanull

writernull

适用于