A protocol for establishing a secure connection between client and server. It is intended to verify the authenticity and security of the channel being set up, and includes a series of control procedures to keep intruders out. During the handshake process, authentication data is requested (in WPA2) or security certificate information (in SSL/TLS); session encryption keys are generated and the integrity of transmitted data packets is verified.