security.Digest.AddHexBinaryData

Adds data in hexadecimal format to the digest buffer.

Syntax

security.Digest.AddHexBinaryData(
   toDigest STRING )
  1. toDigest defines the hexadecimal data string to be added to the digest buffer.

Usage

Use the method to decode the given hexadecimal string and add the binary data to the digest buffer.

After adding all the 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).