You are here

private function SAML2_Assertion::parseSignature in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8

Parse signature on assertion.

Parameters

DOMElement $xml The assertion XML element.:

1 call to SAML2_Assertion::parseSignature()
SAML2_Assertion::__construct in src/SAML2_Assertion.php

File

src/SAML2_Assertion.php, line 330

Class

SAML2_Assertion

Namespace

Drupal\miniorange_saml

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;
  }
}