The SSL and TLS protocols enable two parties to identify and authenticate each other and communicate with confidentiality and data integrity. The SSL and TLS protocols provide communications security over the internet and allow client/server applications to communicate in a way that is confidential and reliable.
The protocols have two layers: a Record Protocol and a Handshake Protocol, and these are layered above a transport protocol such as TCP/IP. They both use asymmetric and symmetric cryptography techniques.
An SSL or TLS connection is initiated by an application, which becomes the SSL or TLS client. The application which receives the connection becomes the SSL or TLS server. Every new session begins with a handshake, as defined by the SSL or TLS protocols.