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
secretData | the secret data |
contentType | the content type of the data |
destroy | function to call to free the secret data |
Returns
the new #SecretValue