cp_socket

Section: cp_client (3)
Updated: MARCH 2006
Index Return to Main Contents
 

NAME

cp_client_verify_hostname - compare the host name used for a connection to the host name given in the certificate presented by the server  

SYNOPSIS

#include <cprops/client.h>

int cp_client_verify_hostname(cp_client *client);  

DESCRIPTION

cp_client_verify_hostname may be called on cp_client sockets created with cp_client_create_ssl and successfully connected with cp_client_connect to determine if the host name given in the server certificate matches the host name used to make connection.  

RETURN VALUE

cp_client_verify_hostname returns non-zero if the host name used to make the connection matches the host name given in the server certificate, or zero on mismatch.  

SEE ALSO

cp_client_create_ssl(3), cp_client_connect(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 14:33:55 GMT, March 14, 2006
SourceForge.net Logo