Edit

Share via


Saml2SecurityTokenHandler.ReadSigningKeyInfo Method

Definition

Deserializes the 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

Parameters

reader
XmlReader

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

assertion
Saml2Assertion

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