tls

Transport Layer Security purely in OCaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library tls-mirage
Module Tls_mirage . X509

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.