Gio.TlsCertificate.get_dns_names

### Method

# Gio TlsCertificateget_dns_names

since: 2.70

#### Declaration [src]

    GPtrArray*
    g_tls_certificate_get_dns_names (
      GTlsCertificate* cert
    )

#### Description [src]

Gets the value of `GTlsCertificate:dns-names`.

Available since: 2.70

Gets property | `Gio.TlsCertificate:dns-names`

#### Return value

Type: An array of `GBytes*`

A `GPtrArray` of `GBytes` elements, or `NULL` if it’s not available.

The caller of the method takes ownership of the returned data container, but not the data inside it.
The return value can be `NULL`.