Bagikan melalui


SamlAssertion.ReadSignature Metode

Definisi

Membaca tanda tangan digital untuk pernyataan SAML dari pembaca XML.

protected:
 void ReadSignature(System::Xml::XmlDictionaryReader ^ reader, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer, System::IdentityModel::Selectors::SecurityTokenResolver ^ outOfBandTokenResolver, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer);
protected void ReadSignature (System.Xml.XmlDictionaryReader reader, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer, System.IdentityModel.Selectors.SecurityTokenResolver outOfBandTokenResolver, System.IdentityModel.Tokens.SamlSerializer samlSerializer);
member this.ReadSignature : System.Xml.XmlDictionaryReader * System.IdentityModel.Selectors.SecurityTokenSerializer * System.IdentityModel.Selectors.SecurityTokenResolver * System.IdentityModel.Tokens.SamlSerializer -> unit
Protected Sub ReadSignature (reader As XmlDictionaryReader, keyInfoSerializer As SecurityTokenSerializer, outOfBandTokenResolver As SecurityTokenResolver, samlSerializer As SamlSerializer)

Parameter

reader
XmlDictionaryReader

XmlDictionaryReader A untuk membaca tanda tangan digital.

keyInfoSerializer
SecurityTokenSerializer

SecurityTokenSerializer yang membaca klausa KeyInfo tanda tangan digital.

outOfBandTokenResolver
SecurityTokenResolver

SecurityTokenResolver yang menentukan token keamanan yang membuat tanda tangan digital.

samlSerializer
SamlSerializer

SamlSerializer yang mampu membaca elemen XML yang didefinisikan dalam spesifikasi SAML.

Pengecualian

reader is null

-atau-

samlSerializer is null

-atau-

tanda tangan digital belum dibaca dari pernyataan SAML.

Keterangan

Ketika metode dipanggil ReadSignature , SigningToken properti diatur.

Berlaku untuk