Module Nettls_gnutls.GNUTLS

module GNUTLS: GNUTLS_PROVIDER 

The implementation of TLS backed by GnuTLS, here using Netsys_types as TLS_EXCEPTIONS module


include Netsys_crypto_types.TLS_PROVIDER
val gnutls_session : endpoint -> Nettls_gnutls_bindings.gnutls_session_t

Get the gnutls_session of the endpoint

val gnutls_credentials : credentials -> Nettls_gnutls_bindings.gnutls_credentials

Get the gnutls_credentials of the generic credentials