X509_lwtSourceX.509 certificate handling using Lwt.
private material: a certificate chain and a RSA private key
authenticator
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.
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.tauthenticator methods constructs an authenticator using the specified method and data.