Saml2SecurityTokenHandler.ReadSigningKeyInfo 方法

定义

反序列化 SAML Signing KeyInfo。

protected:
 virtual System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ReadSigningKeyInfo(System::Xml::XmlReader ^ reader, System::IdentityModel::Tokens::Saml2Assertion ^ assertion);
protected virtual System.IdentityModel.Tokens.SecurityKeyIdentifier ReadSigningKeyInfo (System.Xml.XmlReader reader, System.IdentityModel.Tokens.Saml2Assertion assertion);
abstract member ReadSigningKeyInfo : System.Xml.XmlReader * System.IdentityModel.Tokens.Saml2Assertion -> System.IdentityModel.Tokens.SecurityKeyIdentifier
override this.ReadSigningKeyInfo : System.Xml.XmlReader * System.IdentityModel.Tokens.Saml2Assertion -> System.IdentityModel.Tokens.SecurityKeyIdentifier
Protected Overridable Function ReadSigningKeyInfo (reader As XmlReader, assertion As Saml2Assertion) As SecurityKeyIdentifier

参数

reader
XmlReader

可以放置在 ds:KeyInfo 元素位置的 XmlReader。

assertion
Saml2Assertion

已检查签名的断言。

返回

用来表示用作检查签名的密钥的 SecurityKeyIdentifier

例外

readernull

适用于