The Encryption class / xml.Encryption methods |
Get a copy of the embedded symmetric key that was used in the last decryption operation.
getEmbeddedKey() RETURNING key xml.CryptoKey
Returns a copy of the embedded symmetric key that was used in the last decryption operation, or NULL if there is none.
An embedded symmetric key is always encrypted, and needs therefore a key-encryption key to be set in order to decrypt it.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.