Class Value

java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.secret.Value
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class Value extends ProxyInstance
A value containing a secret

A SecretValue contains a password or other secret value.

Use 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 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 unref().