package tls
Transport Layer Security purely in OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
tls-v0.12.0.tbz
sha256=a7586790a7d0b44b8b0844347c140f1b641728f3e47f4c566894e5e32b46c33b
sha512=37c4c97cafad6b51f1b8cbfc9b437680a643ea71c340b86a1930e89282d893f266886ffbedb8e239a66754328bc2575e96ffb4dae46ae9df018494f12a94f228
doc/tls.lwt/X509_lwt/index.html
Module X509_lwt
X.509 certificate handling using Lwt.
private material: a certificate chain and a RSA private key
val private_of_pems :
cert:Lwt_io.file_name ->
priv_key:Lwt_io.file_name ->
priv Lwt.t
private_of_pems ~cert ~priv_key
is priv
, after reading the private key and certificate chain from the given PEM-encoded files.
val certs_of_pem : Lwt_io.file_name -> X509.Certificate.t list Lwt.t
certs_of_pem file
is certificates
, which are read from the PEM-encoded file
.
val certs_of_pem_dir : Lwt_io.file_name -> X509.Certificate.t list Lwt.t
certs_of_pem_dir dir
is certificates
, which are read from all PEM-encoded files in dir
.
val authenticator :
?hash_whitelist:Mirage_crypto.Hash.hash list ->
?crls:Lwt_io.file_name ->
[ `Ca_file of Lwt_io.file_name
| `Ca_dir of Lwt_io.file_name
| `Key_fingerprints of
Mirage_crypto.Hash.hash * ([ `host ] Domain_name.t * Cstruct.t) list
| `Hex_key_fingerprints of
Mirage_crypto.Hash.hash * ([ `host ] Domain_name.t * string) list
| `Cert_fingerprints of
Mirage_crypto.Hash.hash * ([ `host ] Domain_name.t * Cstruct.t) list
| `Hex_cert_fingerprints of
Mirage_crypto.Hash.hash * ([ `host ] Domain_name.t * string) list ] ->
authenticator Lwt.t
authenticator methods
constructs an authenticator
using the specified method and data.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>