40 #ifndef LIBNETCONF_TLS_H_
41 #define LIBNETCONF_TLS_H_
43 #include <openssl/ssl.h>
44 #include <openssl/x509.h>
102 int nc_tls_init(
const char* peer_cert,
const char* peer_key,
const char *CAfile,
const char *CApath,
const char *CRLfile,
const char *CRLpath);
104 struct nc_session *
nc_session_accept_tls(
const struct nc_cpblts* capabilities,
const char* username, SSL* tls_sess);
Functions implementing transport layer for NETCONF.
struct nc_session * nc_session_accept_tls(const struct nc_cpblts *capabilities, const char *username, SSL *tls_sess)
void nc_tls_destroy(void)
Destroy all resources allocated for preparation of TLS connections.
Functions to connect NETCONF server to a NETCONF client (Call Home).
int nc_tls_init(const char *peer_cert, const char *peer_key, const char *CAfile, const char *CApath, const char *CRLfile, const char *CRLpath)
Set paths to the client certificate and its private key.
libnetconf's general public functions and structures definitions.