DTLS handshake
Table of Contents
DTLS record header
DTLS Header Field | Purpose |
---|---|
8-bit Message Type | This field contains the type of DTLS record being sent. Valid types are as follows: - ChangeCipherSpec: 0x14 - Alert: 0x15 - Handshake: 0x16 - Application Data: 0x17 |
16-bit Protocol Version | This field contains the DTLS protocol version. Valid values are as follows: - DTLS 1.1: 0xFEFD |
16-bit Epoch | This field contains the DTLS “epoch” which is a counter that is incremented each time the encryption state is changed (e.g. when generating new session keys). |
48-bit Sequence Number | This field contains a sequence number which identifies this particular record. It is used by DTLS to maintain record ordering and check for retransmission need. |
16-bit Length | This field contains the length of the data encapsulated in the DTLS record. |
DTLS Handshake Record header
DTLS Handshake flow
TLS Header Field | Purpose |
---|---|
8-bit Message Type | This field contains the type of DTLS record being sent. Valid types are as follows: - ChangeCipherSpec: 0x14 - Alert: 0x15 - Handshake: 0x16 - Application Data: 0x17 |
16-bit Epoch | This field contains the DTLS “epoch” which is a counter that is incremented each time the encryption state is changed (e.g. when generating new session keys). |
48-bit Sequence Number | This field contains a sequence number which identifies this particular record. It is used by DTLS to maintain record ordering and check for retransmission need. |
16-bit Protocol Version | This field contains the DTLS protocol version. Valid values are as follows: - DTLS 1.1: 0xFEFD |
16-bit Length | This field contains the length of the data encapsulated in the DTLS record. |
8-bit Handshake Type | This field contains the handshake message type. Valid values are as follows: - HelloRequest: 0x00 - ClientHello: 0x01 - ServerHello: 0x02 - Certificate: 0x0B - ServerKeyExchange: 0x0C - CertificateRequest: 0x0D - ServerHelloDone: 0x0E - CertificateVerify: 0x0F - ClientKeyExchange: 0x10 - Finished: 0x14 |
24-bit Length | This field contains the length of the handshake message data. |
16-bit Sequence Number | This field contains a sequence number. |
Reference
Comments |0|
Category: Uncategorized