Lines Matching refs:trustManager
30 import javax.net.ssl.TrustManager;
63 private X509TrustManager trustManager;
96 * See {@link javax.net.ssl.SSLContext#init(KeyManager[],TrustManager[],
99 protected SSLParametersImpl(KeyManager[] kms, TrustManager[] tms,
117 // initialize trustManager
119 trustManager = getDefaultTrustManager();
121 trustManager = findX509TrustManager(tms);
181 return trustManager;
402 TrustManager[] tms = tmf.getTrustManagers();
403 X509TrustManager trustManager = findX509TrustManager(tms);
404 return trustManager;
411 private static X509TrustManager findX509TrustManager(TrustManager[] tms) throws KeyManagementException {
412 for (TrustManager tm : tms) {