nopoll_bool nopoll_conn_opts_set_ssl_certs ( noPollConnOpts opts,
const char *  certificate,
const char *  private_key,
const char *  chain_certificate,
const char *  ca_certificate 
)

Allows to certificate, private key and optional chain certificate and ca for on a particular options that can be used for a client and a listener connection.

Parameters
optsThe connection options where these settings will be applied.
certificateThe certificate to use on the connection.
private_keyclient_certificate private key.
chain_certificateOptional chain certificate to use
ca_certificateOptional CA certificate to use during the process.
Returns
nopoll_true in the case all certificate files provided are reachable.

References nopoll_false, nopoll_strdup(), and nopoll_true.