Method

GLibHmacget_string

since: 2.30

Declaration [src]

const gchar*
g_hmac_get_string (
  GHmac* hmac
)

Description [src]

Gets the HMAC as a hexadecimal string.

Once this function has been called the GHmac can no longer be updated with g_hmac_update().

The hexadecimal characters will be lower case.

Available since: 2.30

Return value

Type: const gchar*

The hexadecimal representation of the HMAC. The returned string is owned by the HMAC and should not be modified or freed.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.