共用方式為


Saml2SecurityTokenHandler.ReadSigningKeyInfo 方法

定義

還原序列化 SAML 簽署 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

適用於