yaSSL implements the SSL protocol as defined in
draft-freier-ssl-version3-02.txt.
It implements the TLS protocol as defined in RFC 2246.
Two record layer protocols exist within SSL, the message layer and the handshake layer. Handshake messages are used to negotiate a common cipher suite, create secrets, and enable a secure connection.
The message layer encapsulates the handshake layer while also supporting alert processing and application data transfer. yaSSL uses three important libraries to handle the lower level functionality, described below.