Start of changeSet Decryption key (QteSetDecryptionKey) API


  Required Parameter Group:

1 Decryption key buffer Input Char(*)
2 Length of decryption key buffer
Input Binary(4)
3
Error code I/O Char(*)

  Service Program: QTEDBGS

  Threadsafe: No

The QteSetDecryptionKey API specifies the decryption key to be used by the QteRetrieveViewText API to decrypt encrypted view text data.  QteSetDecryptionKey must be called after the QteStartSourceDebug API and before the QteRetrieveViewText API.

Authorities and Locks

None.


Required Parameter Group

Decryption key buffer
INPUT; CHAR(*)

The 16 byte decryption key to be used by the QteRetrieveViewText API to decrypt encrypted view text data.

Length of encryption key buffer
INPUT; BINARY(4)

The length of the data in the decryption key parameter, in bytes. The parameter must be set to a value from one to 16.  If the data length is greater than zero and less than 16, the data will be padded to 16 bytes with the pad character x'40'. 

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages

Message ID Error Message Text
CPF957D E Encryption or decryption key length not valid.
CPF3CF1 E Error code parameter not valid.
CPF3CF2 E Error(s) occurred during running of &1 API.


End of change
API introduced: IBM® i 7.1

[ Back to top | Debugger APIs | APIs by category ]