package async_ssl

  1. Overview
  2. Docs
include module type of struct include Ssl end
type t = Ssl.t
val sexp_of_t : t -> Sexplib0.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 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
val set1_groups_list : (t -> string -> int 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
val get_alpn_selected : (t -> char Ctypes_static.ptr Ctypes_static.ptr -> int Ctypes_static.ptr -> unit F.return) F.result
OCaml

Innovation. Community. Security.