public function XMLSecurityDSig::createNewSignNode in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8
Parameters
string $name:
null|string $value:
Return value
DOMElement
4 calls to XMLSecurityDSig::createNewSignNode()
File
- src/
XMLSecurityKey.php, line 880
Class
Namespace
Drupal\miniorange_samlCode
public function createNewSignNode($name, $value = null) {
$doc = $this->sigNode->ownerDocument;
if (!is_null($value)) {
$node = $doc
->createElementNS(self::XMLDSIGNS, $this->prefix . $name, $value);
}
else {
$node = $doc
->createElementNS(self::XMLDSIGNS, $this->prefix . $name);
}
return $node;
}