Create a #SecretValue for the secret data passed in.
Get the secret data in the #SecretValue.
Get the content type of the secret value, such as text/plain.
Get the secret data in the #SecretValue if it contains a textual value.
Unreference a #SecretValue and steal the secret data in #SecretValue as nonpageable memory.
Create a #SecretValue for the secret data passed in.
Pointer to the C boxed value
Get the GType of this boxed type.
Boxed GType property.
Convenience method to return this cast to a type. For use in D with statements.
Make a copy of the wrapped C boxed data.
Copy a C boxed value using g_boxed_copy.
Free a C boxed value using g_boxed_free.
A value containing a secret
A #SecretValue contains a password or other secret value.
Use secret.value.Value.get to get the actual secret data, such as a password. The secret data is not necessarily null-terminated, unless the content type is "text/plain".
Each #SecretValue has a content type. For passwords, this is text/plain. Use secret.value.Value.getContentType to look at the content type.
#SecretValue is reference counted and immutable. The secret data is only freed when all references have been released via secret.value.Value.unref.