package async_ssl

  1. Overview
  2. Docs
include module type of struct include Ssl end
type t = Ssl.t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val t : t Ctypes.typ
val free : (t -> unit F.return) F.result
val set_method : (t -> Ssl_method.t -> int F.return) F.result
val get_error : (t -> int -> int F.return) F.result
val set_connect_state : (t -> unit F.return) F.result
val set_accept_state : (t -> unit F.return) F.result
val connect : (t -> int F.return) F.result
val accept : (t -> int F.return) F.result
val set_bio : (t -> Bio.t -> Bio.t -> unit F.return) F.result
val read : (t -> char Ctypes_static.ptr -> int -> int F.return) F.result
val write : (t -> string -> int -> int F.return) F.result
val use_certificate_file : (t -> string -> int -> int F.return) F.result
val use_private_key_file : (t -> string -> int -> int F.return) F.result
val set_verify : (t -> int -> unit Ctypes_static.ptr -> unit F.return) F.result
val set_cipher_list : (t -> string -> int F.return) F.result
val get_cipher_list : (t -> int -> string option F.return) F.result
module Tmp_dh_callback = Tmp_dh_callback
val set_tmp_dh_callback : (t -> Tmp_dh_callback.t -> unit F.return) F.result
val set_tmp_ecdh : (t -> Ec_key.t -> unit F.return) F.result
module Tmp_rsa_callback = Tmp_rsa_callback
val set_tmp_rsa_callback : (t -> Tmp_rsa_callback.t -> unit F.return) F.result
val get_peer_certificate : (t -> X509.t Base.option F.return) F.result
val get_verify_result : (t -> Signed.long F.return) F.result
val get_version : (t -> string F.return) F.result
val set_session : (t -> Ssl_session.t -> int F.return) F.result
val session_reused : (t -> int F.return) F.result
val get1_session : (t -> Ssl_session.t Base.option F.return) F.result
val check_private_key : (t -> int F.return) F.result
val set_tlsext_host_name : (t -> char Ctypes_static.ptr -> int F.return) F.result
val pem_peer_certificate_chain : (t -> char Ctypes_static.ptr option F.return) F.result
val free_pem_peer_certificate_chain : (char Ctypes_static.ptr -> unit F.return) F.result
OCaml

Innovation. Community. Security.