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
Namespace
Drupal\miniorange_samlCode
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);
}
}
}
}