Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: TlsPasswordMeta

[234:14] static extends: object

Generated metadata helpers for TlsPassword class surfaces.

Methods

  • properties ()

    Returns property metadata for TlsPassword.

    • @r A list.

class: TlsPassword

[14:7] extends: object

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

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • TlsPassword (flags = null, description = null)

    Create a new #GTlsPassword object.

    • @p flags is the password flags.
    • @p description is description of what the password is for.
  • toNativeHandle (Source)

    Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from fn.call(...), another generated wrapper exposing handle(), or null. Returns null when the argument carries no pointer.

    • @p Source is the raw handle, raw buffer, wrapper, or null.
    • @r A raw pointer carrier or null when no pointer is present.
  • getLib ()

    Returns the opened native library for this generated wrapper.

    • @r The opened native library.
  • handle ()

    Returns the wrapped NativeHandle.

    • @r The wrapped NativeHandle.
  • isNull ()

    Returns true when the wrapped handle is null.

    • @r A bool.
  • describe ()

    Returns a small string for debugging generated wrappers.

    • @r A string.
  • asObject ()

    Wraps this handle as Object.

    • @r A Object object.
  • getProperty (string Name)

    Reads one generated property by name.

  • setProperty (string Name, Value)

    Writes one generated property by name.

  • setDescription (string Value)

    Description of what the password is for.

    • @p Value is the new property value.
    • @r None.
  • setFlags (string Value)

    Flags about the password.

    • @p Value is the new property value.
    • @r None.
  • setWarning (string Value)

    Warning about the password.

    • @p Value is the new property value.
    • @r None.
  • get_description ()

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

  • get_flags ()

    Get flags about the password.

  • get_warning ()

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

  • set_description (string description)

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

    • @p description is The description of the password.
    • @r None.
  • set_flags (string flags)

    Set flags about the password.

    • @p flags is The flags about the password.
    • @r None.
  • set_warning (string warning)

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

    • @p warning is The user readable warning.
    • @r None.