Value.full


Description:

[ CCode ( has_construct_function = false ) ]
public Value.full (string secret, ssize_t length, string content_type, DestroyNotify destroy)

Create a Value for the secret data passed in.

The secret data is not copied, and will later be freed with the destroy function.

If the length is less than zero, then secret is assumed to be null-terminated.

Parameters:

secret

the secret data

length

the length of the data

content_type

the content type of the data

destroy

function to call to free the secret data

Returns:

the new Value