security.Digest.DoBase64Digest

Creates a digest of the buffered data and returns the result in base64 format.

Syntax

security.Digest.DoBase64Digest()
  RETURNS STRING

Usage

This method processes the digest on all data previously added to the context and encodes it in base64.

After that call, the internal buffer is cleaned and ready to be populated again with new data to be digested.

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).