SamlSecurityTokenHandler.WriteSigningKeyInfo 方法

定义

使用指定 XML 编写器写入签名 <ds:KeyInfo> 元素。

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)

参数

writer
XmlWriter

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

signingKeyIdentifier
SecurityKeyIdentifier

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

例外

signingKeyIdentifiernull

writernull

处理程序无法序列化由 signingKeyIdentifier 指定的键标识符。

适用于