Value.newFull

Create a #SecretValue 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.

class Value
static
newFull

Parameters

secretData string

the secret data

length ptrdiff_t

the length of the data

contentType string

the content type of the data

destroy glib.types.DestroyNotify

function to call to free the secret data

Return Value

Type: secret.value.Value

the new #SecretValue