1gnutls_set_default_priority(3)      gnutls      gnutls_set_default_priority(3)
2
3
4

NAME

6       gnutls_set_default_priority - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int gnutls_set_default_priority(gnutls_session_t session);
12

ARGUMENTS

14       gnutls_session_t session
15                   is a gnutls_session_t type.
16

DESCRIPTION

18       Sets  the  default  priority  on the ciphers, key exchange methods, and
19       macs. This is the recommended method of setting the defaults, in  order
20       to  promote consistency between applications using GnuTLS, and to allow
21       GnuTLS using applications to update settings in par with  the  library.
22       For  client  applications  which require maximum compatibility consider
23       calling gnutls_session_enable_compatibility_mode() after this function.
24
25       For an application to specify additional  options  to  priority  string
26       consider using gnutls_set_default_priority_append().
27
28       To  allow  a user to override the defaults (e.g., when a user interface
29       or  configuration  file  is  available),  the  functions  gnutls_prior‐
30       ity_set_direct() or gnutls_priority_set() can be used.
31

RETURNS

33       GNUTLS_E_SUCCESS on success, or an error code.
34

SINCE

36       2.1.4
37

REPORTING BUGS

39       Report bugs to <bugs@gnutls.org>.
40       Home page: http://www.gnutls.org
41
42
44       Copyright © 2001-2018 Free Software Foundation, Inc., and others.
45       Copying  and  distribution  of this file, with or without modification,
46       are permitted in any medium  without  royalty  provided  the  copyright
47       notice and this notice are preserved.
48

SEE ALSO

50       The  full  documentation  for gnutls is maintained as a Texinfo manual.
51       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
52       visit
53
54       http://www.gnutls.org/manual/
55
56gnutls                               3.6.5      gnutls_set_default_priority(3)
Impressum