manpagez: man pages & more
info gnutls
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.4 TLS Extension Handling

As with authentication methods, the TLS extensions handlers can be implemented using the following interface.

gnutls-extensions_st

Here there are two functions, one for receiving the extension data and one for sending. These functions have to check internally whether they operate in client or server side.

A simple example of an extension handler can be seen in ext_srp.c After implementing these functions, together with the extension number they handle, they have to be registered in gnutls_extensions.c in the _gnutls_extensions structure.


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.