package async_ssl

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Config.ClientSource

Sourcetype t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval create : ?verify_modes:Verify_mode.t list -> ?tls_options:Opt.t list -> ?allowed_ciphers:[ `Secure | `Openssl_default | `Only of string list ] -> ?crt_file:string -> ?key_file:string -> ?session:Ssl.Session.t -> ?connection_name:string -> ?override_security_level:Ssl.Override_security_level.t -> remote_hostname:string option -> ca_file:string option -> ca_path:string option -> verify_callback:(Ssl.Connection.t -> unit Async.Deferred.Or_error.t) -> unit -> t
Sourceval remote_hostname : t -> string option
Sourceval allowed_ciphers : t -> [ `Secure | `Openssl_default | `Only of string list ]
Sourceval ca_file : t -> string option

ca_file and ca_path may both be used, in which case ca_file is searched first, followed by ca_path. See man SL_CTX_load_verify_locations.

Sourceval ca_path : t -> string option
Sourceval crt_file : t -> string option
Sourceval key_file : t -> string option
Sourceval tls_version : t -> Version.t
Sourceval tls_options : t -> Opt.t list
Sourceval verify_modes : t -> Verify_mode.t list
Sourceval verify_callback : t -> Ssl.Connection.t -> unit Async.Deferred.Or_error.t
Sourceval session : t -> Ssl.Session.t option
Sourceval connection_name : t -> string option
Sourceval override_security_level : t -> Ssl.Override_security_level.t option
OCaml

Innovation. Community. Security.