package async_ssl

  1. Overview
  2. Docs

OpenSSL context options.

This mli currently only has SSL/TLS protocol version-related options, though it should also support additions of any option that can be passed to SSL_CTX_set_options(3) and SSL_set_options(3).

Best practice: Leave the "version" specified as Sslv23 (see version.mli) and use the No_... options below to mask off undesired protocol versions.

The current defaults for Version and Opt will enable only TLSv1.2.

type t =
  1. | No_sslv2
  2. | No_sslv3
  3. | No_tlsv1
  4. | No_tlsv1_1
  5. | No_tlsv1_2
  6. | No_tlsv1_3
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
val default : t list
OCaml

Innovation. Community. Security.