package tls
Transport Layer Security purely in OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
tls-0.15.4.tbz
sha256=5f8d1d56b06f6069efd1d0a3de0c45cb488d3d13eb7f132c84ec7ba3f0d1c382
sha512=333352cb90bd1a43763571373e61fea1c0ea31f81ef728069344bf807e5a1916d3e249260b37bae62128961f4f7cbfd3cb22b1541088aa241e4637aec7aa7876
doc/tls.lwt/X509_lwt/index.html
Module X509_lwt
Source
X.509 certificate handling using Lwt.
Source
val private_of_pems :
cert:Lwt_io.file_name ->
priv_key:Lwt_io.file_name ->
Tls.Config.certchain Lwt.t
private_of_pems ~cert ~priv_key
is priv
, after reading the private key and certificate chain from the given PEM-encoded files.
certs_of_pem file
is certificates
, which are read from the PEM-encoded file
.
certs_of_pem_dir dir
is certificates
, which are read from all PEM-encoded files in dir
.
Source
val authenticator :
?allowed_hashes: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_fingerprint of Mirage_crypto.Hash.hash * Cstruct.t
| `Hex_key_fingerprint of Mirage_crypto.Hash.hash * string
| `Cert_fingerprint of Mirage_crypto.Hash.hash * Cstruct.t
| `Hex_cert_fingerprint of Mirage_crypto.Hash.hash * string ] ->
X509.Authenticator.t Lwt.t
authenticator methods
constructs an authenticator
using the specified method and data.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>