libnetconf  0.9.1-1
NETCONF Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
libnetconf_tls.h
Go to the documentation of this file.
1 
40 #ifndef LIBNETCONF_TLS_H_
41 #define LIBNETCONF_TLS_H_
42 
43 #include <openssl/x509.h>
44 
45 #include "netconf.h"
46 #include "transport.h"
47 #include "callhome.h"
48 
49 #ifdef __cplusplus
50 extern "C" {
51 #endif
52 
101 int nc_tls_init(const char* peer_cert, const char* peer_key, const char *CAfile, const char *CApath, const char *CRLfile, const char *CRLpath);
102 
112 void nc_tls_destroy(void);
113 
114 #ifdef __cplusplus
115 }
116 #endif
117 
118 #endif /* LIBNETCONF_H_ */
119 
Functions implementing transport layer for NETCONF.
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.