Function swagger::connector::https_mutual_connector
[−]
[src]
ⓘImportant traits for Box<W>
pub fn https_mutual_connector<CA, K, C>(
ca_certificate: CA,
client_key: K,
client_certificate: C
) -> Box<Fn(&Handle) -> HttpsConnector<HttpConnector> + Send + Sync> where
CA: AsRef<Path>,
K: AsRef<Path>,
C: AsRef<Path>,
Returns a function which creates https-connectors for mutually authenticated connections.
Arguments
ca_certificate
- Path to CA certificate used to authenticate the serverclient_key
- Path to the client private keyclient_certificate
- Path to the client's public certificate associated with the private key