summaryrefslogtreecommitdiff
path: root/doc/tex/record.tex
blob: 19defc52e9a2db394949ed12f761c534ac7809a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\section{The TLS record protocol\index{TLS protocols!Record}}

The Record protocol is the secure communications provider. Its purpose
is to encrypt, authenticate and --optionally-- compress packets.
The following functions are available:
\par
\begin{itemize}
\item \printfunc{gnutls_record_send}{gnutls\_record\_send}:
to send a record packet (with application data).
\item \printfunc{gnutls_record_recv}{gnutls\_record\_recv}:
to receive a record packet (with application data).
\end{itemize}

As you may have already noticed, the functions which access the Record protocol,
are quite limited, given the importance of this protocol in \tls{}.
This is because the Record protocol's parameters are all set by
the Handshake protocol.
\par
The Record protocol initially starts with NULL parameters, which means
no encryption, and no MAC is used. Encryption and authentication begin
just after the handshake protocol has finished.

\input{ciphers}

\input{compression}

\input{record_weaknesses}