Module brane_cfg::certs

source ·
Expand description

File that contains some useful functions for loading certificates and keys for rustls.

Re-exports§

Functions§

  • Retrieves the client name from the given Certificate provided by the, well, client.
  • Loads a given .pem file by extracting all the certificates and keys from it.
  • Loads a given certificate file.
  • Loads the client certificates from disk as a CertStore.
  • Loads the an identity file (=certs + key) from the given single file.
  • Loads a given key file.
  • Loads the server certificate / key pair from disk.