1gnutls_dtls_prestate_set(3)         gnutls         gnutls_dtls_prestate_set(3)
2
3
4

NAME

6       gnutls_dtls_prestate_set - API function
7

SYNOPSIS

9       #include <gnutls/dtls.h>
10
11       void         gnutls_dtls_prestate_set(gnutls_session_t         session,
12       gnutls_dtls_prestate_st * prestate);
13

ARGUMENTS

15       gnutls_session_t session
16                   a new session
17
18       gnutls_dtls_prestate_st * prestate
19                   contains the client's prestate
20

DESCRIPTION

22       This function will associate the prestate acquired by  the  cookie  au‐
23       thentication with the client, with the newly established session.
24
25       This     functions     must    be    called    after    a    successful
26       gnutls_dtls_cookie_verify() and should be succeeded by the actual  DTLS
27       handshake using gnutls_handshake().
28

SINCE

30       3.0
31

REPORTING BUGS

33       Report bugs to <bugs@gnutls.org>.
34       Home page: https://www.gnutls.org
35
36
38       Copyright © 2001- Free Software Foundation, Inc., and others.
39       Copying  and  distribution  of this file, with or without modification,
40       are permitted in any medium without royalty provided the copyright  no‐
41       tice and this notice are preserved.
42

SEE ALSO

44       The  full  documentation  for gnutls is maintained as a Texinfo manual.
45       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
46       visit
47
48       https://www.gnutls.org/manual/
49
50gnutls                               3.7.8         gnutls_dtls_prestate_set(3)
Impressum