kvarn_extensions

Module certificate

source
Available on crate feature certificate only.

Structs§

Functions§

  • Blocking! set_token: (token, data) In return: (String, String): (certs_pem, pk_pem)
  • Attach automatic certificate generation to a host. set_host_cert is a callback, since we can’t move host into a 'static context, so you have to provide some method of calling Host::live_set_certificate on host (e.g. by saving a Arc<host::Collection> and getting the host from that).