security.Digest.DoBase64Digest

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

Syntax

security.Digest.DoBase64Digest()
  RETURNING b64Digest STRING
  1. b64Digest is the digest in base64

Usage

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