xml.Encryption.encryptElement
Encrypts the element DomNode and all its children using the symmetric key.
Syntax
encryptElement(
node xml.DomNode )
- node defines the ELEMENT DomNode to encrypt.
Usage
The element DomNode specified in 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. 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).