public function XMLSecurityDSig::addReference in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7
Parameters
DOMDocument $node:
string $algorithm:
null|array $arTransforms:
null|array $options:
File
- includes/
XMLSecurityKey.php, line 1399
Class
Code
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);
}
}
}