security.Digest.AddData
Adds data from a BYTE
variable to the digest
buffer.
Syntax
security.Digest.AddData(
toDigest BYTE )
- toDigest defines the binary data to be added to the digest buffer.
Usage
Adds the binary data contained in the given BYTE
to the digest context.
After adding all
the data pieces, the buffer can be processed by calling security.Digest.DoBase64Digest
or security.Digest.DoHexBinaryDigest
.
Important:
The BYTE
must be located in
memory.
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).