gnutls_oprfi_enable_server(3)

gnutls_oprfi_enable_server3

Api function

Usage

#include <gnutls/gnutls.h>

void gnutls_oprfi_enable_server(gnutls_session_t session, gnutls_oprfi_callback_func cb, void * userdata);

Arguments

gnutls_session_t session

is a gnutls_session_t structure.

gnutls_oprfi_callback_func cb

function pointer to Opaque PRF extension server callback.

void * userdata

hook passed to callback function for passing application state.

Overview

Request that the server should attempt to accept the Opaque PRF Input TLS extension. If the client requests the extension, the provided callback cb will be invoked. The callback must have the following prototype:

int callback (gnutls_session_t session, void *userdata, size_t oprfi_len, const unsigned char *in_oprfi, unsigned char *out_oprfi);

The callback can inspect the client-provided data in the input parameters, and specify its own opaque prf input data in the output variable. The function must return 0 on success, otherwise the handshake will be aborted.

Releases

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0

Reporting bugs

Report bugs to <[email protected]>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/

From gnutls-doc 2.8.6-1+squeeze3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.