The Encryption class / xml.Encryption methods |
Assigns a copy of the symmetric key to this Encryption object.
Any further XML document or node encryption or decryption will use that symmetric key.
When decrypting a XML document that has an embedded symmetric key, the embedded key will be used instead.
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).