xml.Encryption.DecryptString

Decrypts the encrypted string str encoded in BASE64, using the symmetric key key, and returns the string in clear text.

Syntax

xml.Encryption.DecryptString(
   key xml.CryptoKey ,
   str STRING )
  RETURNING rstr STRING
  1. key is the symmetric key to use for decryption.
  2. str is the encrypted string for decryption.

Usage

The key must be of usage: encryption.

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