cp_client_get_server_certificate(3)
| cp_socket(3) | cp_client | cp_socket(3) |
NAME
cp_client_get_server_certificate - return the certificate pesented by the server for an ssl connection
SYNOPSIS
#include <cprops/client.h>
X509 *cp_client_get_server_certificate(cp_client *client);
DESCRIPTION
cp_client_get_server_certificate may be called on cp_client sockets created with cp_client_create_ssl and successfully connected with cp_client_connect to retrieve a descriptor of the certificate presented by the server during the ssl handshake.
RETURN VALUE
The server certificate if available or NULL otherwise.
| MARCH 2006 | libcprops |
