xml.Encryption.encryptElement

Encrypts the ELEMENT DomNode node and all its children using the symmetric key.

Syntax

encryptElement(
   node xml.DomNode )

Usage

The ELEMENT DomNode node and all its children are replaced at the same place in the XML document with the resulting EncryptedData node.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.