Searched refs:trustManager (Results 1 – 7 of 7) sorted by relevance
40 private final X509TrustManager trustManager; field in TestTrustManager51 public static TrustManager wrap(TrustManager trustManager) { in wrap() argument52 if (trustManager instanceof X509ExtendedTrustManager) { in wrap()53 return new TestTrustManager((X509ExtendedTrustManager) trustManager); in wrap()54 } else if (trustManager instanceof X509TrustManager) { in wrap()55 return new TestTrustManager((X509TrustManager) trustManager); in wrap()57 return trustManager; in wrap()60 public TestTrustManager(X509ExtendedTrustManager trustManager) { in TestTrustManager() argument61 out.println("TestTrustManager.<init> extendedTrustManager=" + trustManager); in TestTrustManager()62 this.extendedTrustManager = trustManager; in TestTrustManager()[all …]
363 public static void assertServerCertificateChain(X509TrustManager trustManager, in assertServerCertificateChain() argument367 trustManager.checkServerTrusted(chain, chain[0].getPublicKey().getAlgorithm()); in assertServerCertificateChain()370 public static void assertClientCertificateChain(X509TrustManager trustManager, in assertClientCertificateChain() argument374 trustManager.checkClientTrusted(chain, chain[0].getPublicKey().getAlgorithm()); in assertClientCertificateChain()
387 private TestTrustManager trustManager; field in HandshakeCompletedEventTest.TestServer402 trustManager = new TestTrustManager(); in TestServer()405 TrustManager[] trustManagers = new TrustManager[] { trustManager }; in TestServer()456 return trustManager.getChain(); in getChain()468 private TestTrustManager trustManager; field in HandshakeCompletedEventTest.TestClient480 trustManager = new TestTrustManager(); in TestClient()486 TrustManager[] trustManagers = new TrustManager[] { trustManager }; in run()526 return trustManager.getChain(); in getChain()
460 private TestTrustManager trustManager; field in SSLSessionTest.TestServer477 trustManager = new TestTrustManager(); in TestServer()481 TrustManager[] trustManagers = new TrustManager[] { trustManager }; in TestServer()528 return trustManager.getChain(); in getChain()543 private TestTrustManager trustManager; field in SSLSessionTest.TestClient557 trustManager = new TestTrustManager(); in TestClient()564 TrustManager[] trustManagers = new TrustManager[] { trustManager }; in run()596 return trustManager.getChain(); in getChain()
520 private TestTrustManager trustManager; field in SSLSocketTest.TestServer534 trustManager = new TestTrustManager(); in TestServer()540 TrustManager[] trustManagers = new TrustManager[] { trustManager }; in run()583 return trustManager.getChain(); in getChain()
166 public final TestTrustManager trustManager; field in TestKeyStore174 this.trustManager = (TestTrustManager)trustManagers[0]; in TestKeyStore()
2262 RecordingTrustManager trustManager = new RecordingTrustManager();2264 sc.init(null, new TrustManager[] { trustManager }, new java.security.SecureRandom());2289 trustManager.calls);3221 @Override public X509TrustManager trustManager(SSLSocketFactory sslSocketFactory) {3224 @Override public TrustRootIndex trustRootIndex(X509TrustManager trustManager) {