### Constructor

# Gio TlsPassword new

#### Declaration [src]

    GTlsPassword*
    g_tls_password_new (
      GTlsPasswordFlags flags,
      const gchar* description
    )

#### Description [src]

Create a new `GTlsPassword` object.

#### Parameters

`flags`

  Type: `GTlsPasswordFlags`

  The password flags.

`description`

  Type: `const gchar*`

  Description of what the password is for.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `GTlsPassword`

The newly allocated password object.

The caller of the function takes ownership of the data, and is responsible for freeing it.