NAME

catssl - SSL interface

DESCRIPTION

The catssl interface provides functions used to set up both the client and server side of the Secure Sockets Layer (SSL) protocol, including session resumption and setting the strength of the authentication and encryption protocols.

Before SSL can be used, the certificate and private key of the caller must be installed with catpsd_setpsd().

This interface supports only SSL version 3.

FUNCTION OVERVIEW

catssl_newinfo
Creates a new SSL context, needed by the other SSL functions.

catssl_freeinfo
Frees an SSL context.

catssl_setciphers
Sets the cipher strength to be used. By default, the strongest available cipher will be used.

catssl_serverhandshake
Performs the server side of the SSL handshake. Should be called immediately after the connection has been established.

catssl_clienthandshake
Performs the client side of the SSL handshake. Should be called immediately after the connection has been established.

catssl_setdb
Installs callbacks to handle the session resumption database.

SEE ALSO

cat

catssl_clienthandshake, catssl_freeinfo, catssl_newinfo, catssl_setciphers, catssl_setdb, catssl_serverhandshake