private function SAML2_Assertion::parseSignature in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7
Parse signature on assertion.
Parameters
DOMElement $xml The assertion XML element.:
1 call to SAML2_Assertion::parseSignature()
- SAML2_Assertion::__construct in includes/
Assertion.php
File
- includes/
Assertion.php, line 366
Class
Code
private function parseSignature(DOMElement $xml) {
/* Validate the signature element of the message. */
$sig = Utilities::validateElement($xml);
if ($sig !== FALSE) {
$this->wasSignedAtConstruction = TRUE;
$this->certificates = $sig['Certificates'];
$this->signatureData = $sig;
}
}