Method

GVncConnectionset_tls_cert_dir

Declaration [src]

void
vnc_connection_set_tls_cert_dir (
  VncConnection* conn,
  const char* dir
)

Description [src]

Set the directory in which to find TLS certificates. This directory should contain the following files

  • cacert.pem - CA certificate list (can concatenate many CAs)
  • cacrl.pem - CA revokation list
  • clientkey.pem - the main client key (optional)
  • clientcert.pem - the main client certificate (optional)
  • clientkeyNN.pem - additional client key (optional), for NN in 0-3
  • clientcertNN.pem - additional client certificate (optional), for NN in 0-3.

Parameters

dir

Type: const char*

The certificate directory.

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