Crate libtls_sys [] [src]

This library crate provides low-level bindings to the libtls API, provided by OpenBSD's libressl. Read the official documentation for instructions on use.

Reexports

pub extern crate libc;

Enums

Struct_tls
Struct_tls_config

Constants

TLS_API
TLS_PROTOCOLS_ALL
TLS_PROTOCOLS_DEFAULT
TLS_PROTOCOL_TLSv1
TLS_PROTOCOL_TLSv1_0
TLS_PROTOCOL_TLSv1_1
TLS_PROTOCOL_TLSv1_2
TLS_WANT_POLLIN
TLS_WANT_POLLOUT

Functions

tls_accept_fds
tls_accept_socket
tls_client
tls_close
tls_config_clear_keys
tls_config_free
tls_config_insecure_noverifycert
tls_config_insecure_noverifyname
tls_config_insecure_noverifytime
tls_config_new
tls_config_parse_protocols
tls_config_prefer_ciphers_client
tls_config_prefer_ciphers_server
tls_config_set_ca_file
tls_config_set_ca_mem
tls_config_set_ca_path
tls_config_set_cert_file
tls_config_set_cert_mem
tls_config_set_ciphers
tls_config_set_dheparams
tls_config_set_ecdhecurve
tls_config_set_key_file
tls_config_set_key_mem
tls_config_set_protocols
tls_config_set_verify_depth
tls_config_verify
tls_config_verify_client
tls_config_verify_client_optional
tls_configure
tls_conn_cipher
tls_conn_version
tls_connect
tls_connect_fds
tls_connect_servername
tls_connect_socket
tls_error
tls_free
tls_handshake
tls_init
tls_load_file
tls_peer_cert_contains_name
tls_peer_cert_hash
tls_peer_cert_issuer
tls_peer_cert_notafter
tls_peer_cert_notbefore
tls_peer_cert_provided
tls_peer_cert_subject
tls_read
tls_reset
tls_server
tls_write