Method

GVncConnectionget_tls_cert_dir

Declaration [src]

const char*
vnc_connection_get_tls_cert_dir (
  VncConnection* conn
)

Description [src]

Get the directory in which to find TLS certificates.

If unset, searches two built-in directories

  • $HOME/.pki/[NAME]
  • /etc/pki/[NAME]

In this case, ‘NAME’ refers to the string set of the VNC_CONNECTION_CREDENTIAL_CLIENTNAME credential type.

Return value

Type: const char*

The TLS cert directory, or NULL for the default.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.