Encrypt the selected node with the given key.
public encryptNode ( XMLSecurityKey $objKey, boolean $replace = true ) : DOMElement | ||
$objKey | XMLSecurityKey | The encryption key and algorithm. |
$replace | boolean | Whether the encrypted node should be replaced in the original tree. Default is true. |
return | DOMElement | The |