Next: , Previous: Compatibility with the OpenSSL library, Up: How to use GnuTLS in applications


7.7 Opaque PRF Input TLS Extension

GnuTLS supports the Opaque PRF Input TLS extension (draft-rescorla-tls-opaque-prf-input-00.txt). The API consists of one API for use in the client, gnutls_oprfi_enable_client, and one API for use in the server, gnutls_oprfi_enable_server. You must invoke both functions before calling gnutls_handshake. The server utilizes a callback function into the application. The callback can look at the random string provided by the client, and also set the server string. The string lengths must be equal according to the protocol.