security.Digest.AddBase64Data

Adds a data in base64 format to the digest buffer.

Syntax

security.Digest.AddBase64Data (
   data STRING )
  1. data is the base64 data string to be added to the digest buffer.

Usage

Decodes the given base64 string and adds the binary data to the digest buffer.

After adding all data pieces, the buffer can be processed by calling security.Digest.DoBase64Digest or security.Digest.DoHexBinaryDigest.

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