You are here

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

Parameters

array $arNodes:

string $algorithm:

null|array $arTransforms:

null|array $options:

File

src/XMLSecurityKey.php, line 1384

Class

XMLSecurityDSig

Namespace

Drupal\miniorange_saml

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