Blame doc/functions/gnutls_hex_encode2
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_hex_encode2} (const gnutls_datum_t * @var{data}, gnutls_datum_t * @var{result})
|
|
Packit Service |
4684c1 |
@var{data}: contain the raw data
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{result}: the result in an allocated string
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will convert the given data to printable data, using
|
|
Packit Service |
4684c1 |
the hex encoding, as used in the PSK password files.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
Note that the size of the result does NOT include the null terminator.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} @code{GNUTLS_E_SUCCESS} on success, otherwise a negative error code.
|
|
Packit Service |
4684c1 |
@end deftypefun
|