xml.Encryption.encryptElementContent

Encrypts all child nodes of the element DomNode using the symmetric key.

Syntax

encryptElementContent(
   node xml.DomNode )
  1. node defines the element DomNode to encrypt.

Usage

The child nodes of the element DomNode specified in node 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. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).