Top | ![]() |
![]() |
![]() |
![]() |
#define | _() |
#define | N_() |
int | gnutls_utf8_password_normalize () |
#define | BUFFER_APPEND() |
#define | BUFFER_APPEND_PFX4() |
#define | BUFFER_APPEND_PFX3() |
#define | BUFFER_APPEND_PFX2() |
#define | BUFFER_APPEND_PFX1() |
#define | BUFFER_APPEND_NUM() |
#define | BUFFER_APPEND_TS() |
#define | BUFFER_POP() |
#define | BUFFER_POP_DATUM() |
#define | BUFFER_POP_NUM() |
#define | BUFFER_POP_CAST_NUM() |
#define | BUFFER_POP_TS() |
int gnutls_utf8_password_normalize (const uint8_t *password
,unsigned password_len
,gnutls_datum_t *out
,unsigned flags
);
This function will convert the provided UTF-8 password according to the normalization rules in RFC7613.
If the flag GNUTLS_UTF8_IGNORE_ERRS
is specified, any UTF-8 encoding
errors will be ignored, and in that case the output will be a copy of the input.
password |
contain the UTF-8 formatted password |
|
plen |
the length of the provided password |
|
out |
the result in an null-terminated allocated string |
|
flags |
should be zero |
Since: 3.5.7