Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » EncryptionControl interface

 

decrypt method

Decrypts a byte array in the database.

Syntax
void EncryptionControl.decrypt(
  int page_no,
  byte[] src,
  byte[] tgt
) throws ULjException
Parameters
  • page_no   The page number of the array data.

  • src   The encrypted source page.

  • tgt   The resulting page that is decrypted by the method.

Remarks

This method is supplied with an encrypted byte array, src, and an associated page number. Your method must decrypt src and store the result into the tgt byte array. tgt is then used for data operations within your application.