public function XMLSecurityDSig::addReference in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8
Parameters
DOMDocument $node:
string $algorithm:
null|array $arTransforms:
null|array $options:
File
- src/
XMLSecurityKey.php, line 1367
Class
Namespace
Drupal\miniorange_samlCode
public function addReference($node, $algorithm, $arTransforms = null, $options = null) {
if ($xpath = $this
->getXPathObj()) {
$query = "./secdsig:SignedInfo";
$nodeset = $xpath
->query($query, $this->sigNode);
if ($sInfo = $nodeset
->item(0)) {
$this
->addRefInternal($sInfo, $node, $algorithm, $arTransforms, $options);
}
}
}