gio.tls_password
Module for [TlsPassword] class
Types 3
An abstract interface representing a password used in TLS. Often used in user interaction such as unlocking a key storage token.
Methods
TlsPasswordGidBuilder builder() static nothrowGet builder for [gio.tls_password.TlsPassword] Returns: New builder objectstring description() @property nothrowGet `description` property. Returns: Description of what the password is for.void description(string propval) @property nothrowSet `description` property. Params: propval = Description of what the password is for.gio.types.TlsPasswordFlags flags() @property nothrowGet `flags` property. Returns: Flags about the password.void flags(gio.types.TlsPasswordFlags propval) @property nothrowSet `flags` property. Params: propval = Flags about the password.void warning(string propval) @property nothrowSet `warning` property. Params: propval = Warning about the password.string getDescription() nothrowGet a description string about what the password will be used for. Returns: The description of the password.gio.types.TlsPasswordFlags getFlags() nothrowGet flags about the password. Returns: The flags about the password.ubyte[] getValue() nothrowGet the password value. If length is not null then it will be filled in with the length of the password value. (Note that the password value is not nul-terminated, so you can only pass null for len...string getWarning() nothrowGet a user readable translated warning. Usually this warning is a representation of the password flags returned from [gio.tls_password.TlsPassword.getFlags]. Returns: The warning.void setDescription(string description) nothrowSet a description string about what the password will be used for.void setValue(ubyte[] value) nothrowSet the value for this password. The value will be copied by the password object.void setValueFull(ubyte[] value, glib.types.DestroyNotify destroy = null) nothrowProvide the value for this password.void setWarning(string warning) nothrowSet a user readable translated warning. Usually this warning is a representation of the password flags returned from [gio.tls_password.TlsPassword.getFlags].Constructors
this(gio.types.TlsPasswordFlags flags, string description)Create a new #GTlsPassword object.Fluent builder implementation template for gio.tls_password.TlsPassword
Methods
T description(string propval) nothrowSet `description` property. Params: propval = Description of what the password is for. Returns: Builder instance for fluent chainingT flags(gio.types.TlsPasswordFlags propval) nothrowSet `flags` property. Params: propval = Flags about the password. Returns: Builder instance for fluent chainingT warning(string propval) nothrowSet `warning` property. Params: propval = Warning about the password. Returns: Builder instance for fluent chainingFluent builder for gio.tls_password.TlsPassword
Methods