package async_ssl

  1. Overview
  2. Docs
type t
val sexp_of_t : t -> Sexplib0.Sexp.t
val t : t Ctypes.typ
val t_opt : t Base.option Ctypes.typ
val get_error : (t -> int -> int Ffi_generated.return) Ffi_generated.result
val set_connect_state : (t -> unit Ffi_generated.return) Ffi_generated.result
val set_accept_state : (t -> unit Ffi_generated.return) Ffi_generated.result
val set_bio : (t -> Bio.t -> Bio.t -> unit Ffi_generated.return) Ffi_generated.result
val read : (t -> char Ctypes_static.ptr -> int -> int Ffi_generated.return) Ffi_generated.result
val write : (t -> string -> int -> int Ffi_generated.return) Ffi_generated.result
val set_verify : (t -> int -> unit Ctypes_static.ptr -> unit Ffi_generated.return) Ffi_generated.result
val set_cipher_list : (t -> string -> int Ffi_generated.return) Ffi_generated.result
val get_cipher_list : (t -> int -> string option Ffi_generated.return) Ffi_generated.result
val set1_groups_list : (t -> string -> int Ffi_generated.return) Ffi_generated.result
val get_peer_certificate : (t -> X509.t Base.option Ffi_generated.return) Ffi_generated.result
val get_verify_result : (t -> Signed.long Ffi_generated.return) Ffi_generated.result
val get_version : (t -> string Ffi_generated.return) Ffi_generated.result
val session_reused : (t -> int Ffi_generated.return) Ffi_generated.result
val get1_session : (t -> Ssl_session.t Base.option Ffi_generated.return) Ffi_generated.result
val check_private_key : (t -> int Ffi_generated.return) Ffi_generated.result
val set_tlsext_host_name : (t -> char Ctypes_static.ptr -> int Ffi_generated.return) Ffi_generated.result
val pem_peer_certificate_chain : (t -> char Ctypes_static.ptr option Ffi_generated.return) Ffi_generated.result
val free_pem_peer_certificate_chain : (char Ctypes_static.ptr -> unit Ffi_generated.return) Ffi_generated.result
val get_alpn_selected : (t -> char Ctypes_static.ptr Ctypes_static.ptr -> int Ctypes_static.ptr -> unit Ffi_generated.return) Ffi_generated.result
OCaml

Innovation. Community. Security.