public class SSLUtils extends Object
Modifier and Type | Method and Description |
---|---|
static okhttp3.OkHttpClient |
applySslSettings(okhttp3.OkHttpClient client,
boolean verifyingSsl,
InputStream sslCaCert,
KeyManager[] keyManagers,
char[] password)
Apply SSL related settings to httpClient according to the current values of
verifyingSsl and sslCaCert.
|
public static okhttp3.OkHttpClient applySslSettings(okhttp3.OkHttpClient client, boolean verifyingSsl, InputStream sslCaCert, KeyManager[] keyManagers, char[] password) throws GeneralSecurityException
GeneralSecurityException
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries