40#ifndef LIBNETCONF_TLS_H_
41#define LIBNETCONF_TLS_H_
43#include <openssl/ssl.h>
44#include <openssl/x509.h>
102int nc_tls_init(
const char* peer_cert,
const char* peer_key,
const char *CAfile,
const char *CApath,
const char *CRLfile,
const char *CRLpath);
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.
void nc_tls_destroy(void)
Destroy all resources allocated for preparation of TLS connections.
struct nc_session * nc_session_accept_tls(const struct nc_cpblts *capabilities, const char *username, SSL *tls_sess)
libnetconf's general public functions and structures definitions.
Functions implementing transport layer for NETCONF.