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
include sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val compare : t -> t -> int
val default : t list
OCaml

Innovation. Community. Security.