package letsencrypt-mirage

  1. Overview
  2. Docs
ACME implementation in OCaml for MirageOS

Install

dune-project
 Dependency

Authors

Maintainers

Sources

letsencrypt-2.1.0.tbz
sha256=7c148f2adb7cae84ea873065a5ff6b0e0e58d62782da54ba5d024d4069dc50ed
sha512=70c6d8485700934898d94f3ad84a2fb2ca1a4416c64d1217b17bbccf51a73bd43f6e09f04b1551ad42c9735c665f00fdcc8b2d3621aba69450e354f5fd06e9e9

doc/letsencrypt-mirage.http-server/LE_http_server/Make/Paf/TLS/index.html

Module Paf.TLSSource

type error = [
  1. | `Read of TCP.error
  2. | `Tls_alert of Tls.Packet.alert_type
  3. | `Tls_failure of Tls.Engine.failure
  4. | `Write of TCP.write_error
]
type write_error = [
  1. | `Closed
  2. | `Read of TCP.error
  3. | `Tls_alert of Tls.Packet.alert_type
  4. | `Tls_failure of Tls.Engine.failure
  5. | `Write of TCP.write_error
]
val pp_error : error Fmt.t
val pp_write_error : write_error Fmt.t
Sourceval read : flow -> (Cstruct.t Mirage_flow.or_eof, error) result Lwt.t
Sourceval write : flow -> Cstruct.t -> (unit, write_error) result Lwt.t
Sourceval writev : flow -> Cstruct.t list -> (unit, write_error) result Lwt.t
Sourceval shutdown : flow -> [ `read | `read_write | `write ] -> unit Lwt.t
Sourceval close : flow -> unit Lwt.t
Sourceval no_close : flow -> unit
Sourceval to_close : flow -> unit
Sourceval epoch : flow -> (Tls.Core.epoch_data, unit) result
Sourceval reneg : ?authenticator:??? -> ?acceptable_cas:??? -> ?cert:??? -> ?drop:??? -> flow -> (unit, [ `Closed | `Msg of string | `Read of TCP.error | `Tls_alert of Tls.Packet.alert_type | `Tls_failure of Tls.Engine.failure | `Write of TCP.write_error ]) result Lwt.t
Sourceval key_update : ?request:??? -> flow -> (unit, [ `Closed | `Msg of string | `Read of TCP.error | `Tls_alert of Tls.Packet.alert_type | `Tls_failure of Tls.Engine.failure | `Write of TCP.write_error ]) result Lwt.t
Sourceval server_of_flow : Tls.Config.server -> TCP.flow -> (flow, write_error) result Lwt.t
Sourceval client_of_flow : Tls.Config.client -> ?host:??? -> TCP.flow -> (flow, write_error) result Lwt.t