Lines Matching defs:trustManager
57 private TrustManager trustManager;
62 * @param trustManager the trust manager to use.
65 public TrustedSocketFactory(TrustManager trustManager, KeyManager keyManager)
67 this.trustManager = trustManager;
75 * @param trustManager
81 TrustManager trustManager, KeyManager keyManager)
83 setThreadTrustManager(trustManager, Thread.currentThread());
89 * @param trustManager the trust manager to use.
93 TrustManager trustManager, Thread thread)
100 if (trustManager != null) {
101 hmTrustManager.put(thread, trustManager);
139 TrustManager trustManager = hmTrustManager.get(currentThread);
143 if (trustManager == null)
163 result = hmDefaultFactoryTm.get(trustManager);
166 result = new TrustedSocketFactory(trustManager, null);
167 hmDefaultFactoryTm.put(trustManager, result);
172 SocketFactory tmsf = hmDefaultFactoryTm.get(trustManager);
176 result = new TrustedSocketFactory(trustManager, keyManager);
177 hmDefaultFactoryTm.put(trustManager, result);
183 result = new TrustedSocketFactory(trustManager, keyManager);
184 hmDefaultFactoryTm.put(trustManager, result);
266 if (trustManager != null)
268 tm = new TrustManager[] { trustManager };