Gio.TlsCertificate.get_subject_name

### Method

# Gio TlsCertificateget_subject_name

since: 2.70

#### Declaration [src]

    gchar*
    g_tls_certificate_get_subject_name (
      GTlsCertificate* cert
    )

#### Description [src]

Returns the subject name from the certificate.

Available since: 2.70

Gets property | `Gio.TlsCertificate:subject-name`

#### Return value

Type: `gchar*`

The subject name, or `NULL` if it’s not available.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.
The value is a NUL terminated UTF-8 string.