package async_ssl

  1. Overview
  2. Docs

Module Ssl.ConnectionSource

Sourcetype t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval close : t -> unit
Sourceval version : t -> Version.t
Sourceval peer_certificate : t -> Certificate.t Core.Or_error.t option
Sourceval peer_certificate_fingerprint : t -> [ `SHA1 ] -> string option
Sourceval check_peer_certificate_host : t -> string -> unit Core.Or_error.t
Sourceval pem_peer_certificate_chain : t -> string option
Sourceval alpn_selected : t -> string option
Sourceval session_reused : t -> bool

Check if this TLS1.2 session was reused. This doesn't work for TLS1.3 and newer.

OCaml

Innovation. Community. Security.