The Cafe SSL library implements Secure Socket Layer(SSLv3) and Transport Layer Security (TLSv1.0) protocols.
To use the SSL library, first use the NC (Network Configuration) library to check and wait until the network is up.
After the network comes up, initialize the socket library using
SOInit before using any of the SSL library functions. Also, cleanup the socket library using
SOFinish after the application has finished.
For more information and a description of the NC and Socket Library functions, see the Network section of the MAN pages.
Include the following header files:
cafe/network.h(Needed for network configuration and socket library initialization.)
cafe/nssl/nsslclient.h(Needed for SSL APIs.)
The Cafe SSL library offers APIs to write TCP/IP client programs to securely communicate with servers. It provides the following features:
For more information, see Cafe SSL Data Structures and API overview.
Refer to the HTTP client demos for examples.
The current version of the SSL library available in the Cafe SDK has the following limitations.
Do not call any of the SSL APIs from callbacks.
2014/06/09 Removed the description about CRL in Limitations section.
2012/08/16 Cleanup pass.
2011/09/29 Initial version.