TlsPassword

open class TlsPassword(pointer: <Error class: unknown class><<Error class: unknown class>>)

An abstract interface representing a password used in TLS. Often used in user interaction such as unlocking a key storage token.

Skipped during bindings generation

  • parameter length: length: Out parameter is not supported

  • parameter value: Array parameter of type guint8 is not supported

  • parameter value: Array parameter of type guint8 is not supported

Since

2.30

Constructors

Link copied to clipboard
constructor(flags: TlsPasswordFlags, description: String)

Create a new #GTlsPassword object.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Description of what the password is for.

Link copied to clipboard

Flags about the password.

Link copied to clipboard
val gioTlsPasswordPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var warning: String

Warning about the password.

Functions

Link copied to clipboard

Get a description string about what the password will be used for.

Link copied to clipboard

Get flags about the password.

Link copied to clipboard
open fun getWarning(): String

Get a user readable translated warning. Usually this warning is a representation of the password flags returned from g_tls_password_get_flags().

Link copied to clipboard
open fun setDescription(description: String)

Set a description string about what the password will be used for.

Link copied to clipboard
open fun setFlags(flags: TlsPasswordFlags)

Set flags about the password.

Link copied to clipboard
open fun setWarning(warning: String)

Set a user readable translated warning. Usually this warning is a representation of the password flags returned from g_tls_password_get_flags().