Handshake Protocol is used to establish sessions. This protocol allow client and server to authenticate each other by sending a series of messages to each other.
The Handshake Protocol is used before any application data is transmitted.
Type(1 byte): indicates one of 10 messages( hello_request, client_hello etc)
Length(3 bytes):The length of message in bytes
Content(>-1 byte):Parameters related with the message
Handshake protocol uses four phases to complete its cycle.
- Phase-1: In phase-1 both Client and Server send hello-packets to each other In this IP session,cipher suite and protocol version are exchanged for security purpose.
- Phase-2: Server send his certificate and Server-key-exchange. Server end the phase-2 by sending Server-hello-end-packet.
- Phase-3: In this phase client reply to the server by sending his certificate and client-exchange-key.
- Phase-4: In phase-4 change-cipher suite occurred and after this Handshake Protocol ends.
Comments
Post a Comment