package conduit-mirage

  1. Overview
  2. Docs

Parameters

module P : Mirage_clock.PCLOCK

Signature

val nss_authenticator : X509.Authenticator.t

nss_authenticator is the validator using the trust anchors extracted from Mozilla's NSS.

val ok_authenticator : X509.Authenticator.t

ok_authenticator is the validator which accepts all certificates.

val client : ?tls_authenticator:X509.Authenticator.t -> Conduit.endp -> client Lwt.t

client resolves a conduit endpoint into a client configuration.

The certificate is validated using tls_authenticator. By default, it is nss_authenticator

val server : ?tls_authenticator:X509.Authenticator.t -> Conduit.endp -> server Lwt.t

server resolves a confuit endpoint into a server configuration.

The certificate is validated using tls_authenticator. By default, it is ok_authenticator.

OCaml

Innovation. Community. Security.