Builds TLS contexts, trust managers and key managers, from PEM files or an existing SSLContext.
Builds TLS contexts, trust managers and key managers, from PEM files or an existing SSLContext.
(context
{:as tls :keys [ssl-context key cert ca] given-trust-manager :trust-manager})[ssl-context trust-manager] for :tls options: either an :ssl-context
with an optional :trust-manager, or PEM files :ca, :cert + :key.
`[ssl-context trust-manager]` for `:tls` options: either an `:ssl-context` with an optional `:trust-manager`, or PEM files `:ca`, `:cert` + `:key`.
(default-trust-manager)The JVM's default trust manager.
The JVM's default trust manager.
(key-manager key cert)Key manager presenting the private key of the PEM file key, with the
certificate chain of the PEM file cert.
Key manager presenting the private key of the PEM file `key`, with the certificate chain of the PEM file `cert`.
(trust-manager ca)Trust manager trusting only the certificates of the PEM file ca.
Trust manager trusting only the certificates of the PEM file `ca`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |