package tls

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

X.509 handling given a key value store and a clock

Parameters

Signature

val authenticator : KV.t -> C.t -> [< `Noop | `CAs ] -> X509.Authenticator.a Lwt.t

authenticator store clock typ creates an authenticator, either using the given certificate authorities in the store or null.

val certificate : KV.t -> [< `Default | `Name of string ] -> (X509.t list * Nocrypto.Rsa.priv) Lwt.t

certificate store typ unmarshals a certificate chain and private key material from the store.