libnetconf2  3.5.1
NETCONF server and client library in C.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Server TLS

Server-side settings for TLS connections. More...

Collaboration diagram for Server TLS:

Functions

void nc_server_tls_set_verify_clb (int(*verify_clb)(const struct nc_session *session))
 Set TLS authentication additional verify callback. More...
 
const void * nc_session_get_client_cert (const struct nc_session *session)
 Get client certificate. More...
 

Detailed Description

Server-side settings for TLS connections.

Function Documentation

const void* nc_session_get_client_cert ( const struct nc_session *  session)

Get client certificate.

Parameters
[in]sessionSession to get the information from.
Returns
Const session client certificate.
void nc_server_tls_set_verify_clb ( int(*)(const struct nc_session *session)  verify_clb)

Set TLS authentication additional verify callback.

Server will always perform cert-to-name based on its configuration. Only after it passes and this callback is set, it is also called. It should return non-zero for success, 0 to deny the user.

Parameters
[in]verify_clbAdditional user verify callback.