Kommunikatsioonimudel
SSL - Secure Sockets Layer - protocol designed to provide data encryption and authentication
between a Web client and a Web server. The protocol begins with a handshake phase that
negotiates an encryption algorithm (DES, IDEA jne) and keys, and authenticates the server to
the client. The client can also be authenticated to the server. When the transmission of data
begins, all data is encrypted using session keys negotiated during the handshake phase. SSL is
the basis of Transport Layer Securitt (TLS). SSL ja TLS on enim kasutatud e-kommertsi
juures.
SSL ja TLS pole siiski limiteeritud ainult veebirakendustega - neid võib kasutada ka IMAP
meili puhul andmete krüptimiseks. SSL-i võib vaadata kui kihti application layeri ja transport
layeri vahel. Saatja poolel saab SSL andmed (nt HTTP või IMAP sõnumi applicationilt),
krüptib andmed ja saadab krüptitud andmed TCP socketisse. Saaja poolel loeb SSL andmed
TCP socketist, dekrüptib andmed ja saadab andmed applicationile