State Machine during DTLS Handshake
This image illustrates DTLS handshake statuses and different messages during the DTLS handshake. The following steps are performed before the status of the handshake is determined:
- Create SSL/TLS SSLEngines
- Create Buffers
- Set Client of Server mode
- Begin Handshake
- Set Maximum Fragment Size
This image illustrates some of the possible handshake statuses. The section Understanding SSLEngine Operation Statuses describes these statuses in more detail:
NEED_TASK
NEED_WRAP
NEED_UNWRAP
NEED_UNWRAP_AGAIN
FINISHED