protected signElement ( DOMElement $root, DOMElement $insertBefore = null ) : DOMElement | null | ||
$root | DOMElement | The element we should sign. |
$insertBefore | DOMElement | The element we should insert the signature node before. |
return | DOMElement | null |