| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
@deftypefun {void} {gnutls_handshake_set_private_extensions} (gnutls_session_t @var{session}, int @var{allow}) |
| 6 |
@var{session}: is a @code{gnutls_session_t} type. |
| 7 |
|
| 8 |
@var{allow}: is an integer (0 or 1) |
| 9 |
|
| 10 |
This function will enable or disable the use of private cipher |
| 11 |
suites (the ones that start with 0xFF). By default or if @code{allow} is 0 then these cipher suites will not be advertised nor used. |
| 12 |
|
| 13 |
Currently GnuTLS does not include such cipher-suites or |
| 14 |
compression algorithms. |
| 15 |
|
| 16 |
Enabling the private ciphersuites when talking to other than |
| 17 |
gnutls servers and clients may cause interoperability problems. |
| 18 |
@end deftypefun |