Virtual Method



const guchar*
get_value (
  GTlsPassword* password,
  gsize* length


Get the password value. If length is not NULL then it will be filled in with the length of the password value. (Note that the password value is not nul-terminated, so you can only pass NULL for length in contexts where you know the password will have a certain fixed length.)

Available since:2.30


length gsize*

Location to place the length of the password.

 The argument will be set by the function.

Return value

Returns: An array of guchar

The password value (owned by the password object).

 The length of the array is in the length argument.
 The data is owned by the called function.