Value.newFull

secret.value.Value newFull(string secretData, string contentType, glib.types.DestroyNotify destroy)

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.

Parameters

secretDatathe secret data
contentTypethe content type of the data
destroyfunction to call to free the secret data

Returns

the new #SecretValue