Man Linux: Main Page and Category List


       gnutls_handshake_set_private_extensions  -  Used  to enable the private
       cipher suites


       #include <gnutls/gnutls.h>

       void gnutls_handshake_set_private_extensions(gnutls_session_t  session,
       int allow);


       gnutls_session_t session
                   is a gnutls_session_t structure.

       int allow   is an integer (0 or 1)


       This  function  will enable or disable the use of private cipher suites
       (the ones that start with 0xFF).  By default or  if  allow  is  0  then
       these cipher suites will not be advertized nor used.

       Unless  this  function  is called with the option to allow (1), then no
       compression algorithms, like LZO.  That is because these algorithms are
       not yet defined in any RFC or even internet draft.

       Enabling  the  private  ciphersuites  when talking to other than gnutls
       servers and clients may cause interoperability problems.


       Report   bugs   to    <>.     GnuTLS    home    page:  General  help  using GNU software:


       Copyright © 2008 Free Software Foundation.
       Copying and distribution of this file, with  or  without  modification,
       are  permitted  in  any  medium  without royalty provided the copyright
       notice and this notice are preserved.


       The full documentation for gnutls is maintained as  a  Texinfo  manual.
       If  the  info  and gnutls programs are properly installed at your site,
       the command

              info gnutls

       should give you access to the complete manual.

gnutls                              gnutls_handshake_set_private_extensions(3)