libnetconf2
3.5.4
NETCONF server and client library in C.
|
Server-side settings for TLS connections. More...
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... | |
Server-side settings for TLS connections.
const void* nc_session_get_client_cert | ( | const struct nc_session * | session | ) |
Get client certificate.
[in] | session | Session to get the information from. |
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.
[in] | verify_clb | Additional user verify callback. |