package async_ssl

  1. Overview
  2. Docs
type t
val sexp_of_t : t -> Ppx_sexp_conv_lib.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 write : (t -> string -> int -> int Ffi_generated.return) Ffi_generated.result
val use_certificate_file : (t -> string -> int -> int Ffi_generated.return) Ffi_generated.result
val use_private_key_file : (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
module Tmp_dh_callback : sig ... end
val set_tmp_dh_callback : (t -> Tmp_dh_callback.t -> unit Ffi_generated.return) Ffi_generated.result
val set_tmp_ecdh : (t -> Ec_key.t -> unit Ffi_generated.return) Ffi_generated.result
module Tmp_rsa_callback : sig ... end
val set_tmp_rsa_callback : (t -> Tmp_rsa_callback.t -> unit Ffi_generated.return) Ffi_generated.result
val get_peer_certificate : (t -> X509.t Base.option 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
OCaml

Innovation. Community. Security.