Rediger

Del via


SamlSecurityTokenHandler.ReadSigningKeyInfo(XmlReader, SamlAssertion) Method

Definition

Deserializes the SAML Signing KeyInfo.

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

Parameters

reader
XmlReader

An XmlReader that can be positioned at a ds:KeyInfo element.

assertion
SamlAssertion

The assertion that is having the signature checked.

Returns

The SecurityKeyIdentifier that represents the key to use to check the signature.

Exceptions

reader is null.

Applies to