Value
Object Hierarchy:
Description:
[ CCode ( ref_function = "secret_value_ref" , type_id = "secret_value_get_type ()" , unref_function = "secret_value_unref" ) ]
[ Compact ]
public class Value
[ Compact ]
public class Value
A value containing a secret
A Value contains a password or other secret value.
Use [methodValue.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 Value has a content type. For passwords, this is `text/plain`. Use [methodValue.get_content_type
]
to look at the content type.
Value is reference counted and immutable. The secret data is only freed when all references have been released via
[methodValue.unref
].
Namespace: Secret
Package: libsecret-1