package tls
Transport Layer Security purely in OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
tls-v0.15.2.tbz
sha256=b76371757249bbeabb12c333de4ea2a09c095767bdbbc83322538c0da1fc1e36
sha512=e6e089a853848e82647bc3f6ecaa3a95cdb559e50b7ad9d06064c1fd0c931b0e942ff0877c8066ec79b6b42a29512449ba1a5c6de1f1502cdbfc3397546f417c
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)"
>