You are here

public function XMLSecurityDSig::addReferenceList in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

Parameters

array $arNodes:

string $algorithm:

null|array $arTransforms:

null|array $options:

File

includes/XMLSecurityKey.php, line 1416

Class

XMLSecurityDSig

Code

public function addReferenceList($arNodes, $algorithm, $arTransforms = null, $options = null) {
  if ($xpath = $this
    ->getXPathObj()) {
    $query = "./secdsig:SignedInfo";
    $nodeset = $xpath
      ->query($query, $this->sigNode);
    if ($sInfo = $nodeset
      ->item(0)) {
      foreach ($arNodes as $node) {
        $this
          ->addRefInternal($sInfo, $node, $algorithm, $arTransforms, $options);
      }
    }
  }
}