Udostępnij przez


Saml2SecurityTokenHandler.ReadSigningKeyInfo Metoda

Definicja

Deserializuje informacje o kluczu podpisywania SAML.

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

Parametry

reader
XmlReader

Element XmlReader, który można umieścić w elemecie ds:KeyInfo.

assertion
Saml2Assertion

Potwierdzenie, które ma sprawdzony podpis.

Zwraca

Element SecurityKeyIdentifier reprezentujący klucz używany do sprawdzania podpisu.

Wyjątki

reader to null.

Dotyczy