Lines Matching defs:trustManager
61 private TrustManager trustManager;
66 * @param trustManager the trust manager to use.
69 public TrustedSocketFactory(TrustManager trustManager, KeyManager keyManager)
71 this.trustManager = trustManager;
79 * @param trustManager
85 TrustManager trustManager, KeyManager keyManager)
87 setThreadTrustManager(trustManager, Thread.currentThread());
93 * @param trustManager the trust manager to use.
97 TrustManager trustManager, Thread thread)
104 if (trustManager != null) {
105 hmTrustManager.put(thread, trustManager);
143 TrustManager trustManager = hmTrustManager.get(currentThread);
147 if (trustManager == null)
167 result = hmDefaultFactoryTm.get(trustManager);
170 result = new TrustedSocketFactory(trustManager, null);
171 hmDefaultFactoryTm.put(trustManager, result);
176 SocketFactory tmsf = hmDefaultFactoryTm.get(trustManager);
180 result = new TrustedSocketFactory(trustManager, keyManager);
181 hmDefaultFactoryTm.put(trustManager, result);
187 result = new TrustedSocketFactory(trustManager, keyManager);
188 hmDefaultFactoryTm.put(trustManager, result);
289 if (trustManager != null)
291 tm = new TrustManager[] { trustManager };