SSL Library Overview

Introduction

The Cafe SSL library implements Secure Socket Layer(SSLv3) and Transport Layer Security (TLSv1.0) protocols.

Getting Started

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.

Header and library files

Include the following header files:

SSL Programming

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.

Limitations

The current version of the SSL library available in the Cafe SDK has the following limitations.

  1. Only SSLv3 and TLSv1 are supported.
  2. Only DER-encoded certificates and PKCS1 encoded private keys are supported.

Do Not Call From

Do not call any of the SSL APIs from callbacks.

See Also

Network Overview

Revision History

2014/06/09 Removed the description about CRL in Limitations section.
2012/08/16 Cleanup pass.
2011/09/29 Initial version.


CONFIDENTIAL