Home
last modified time | relevance | path

Searched refs:trustManagers (Results 1 – 8 of 8) sorted by relevance

/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java267 createSSLContext(protocol, clientKeyManagers, client.trustManagers); in createWithAdditionalKeyManagers()
269 createSSLContext(protocol, serverKeyManagers, server.trustManagers); in createWithAdditionalKeyManagers()
274 client.trustManagers[0], in createWithAdditionalKeyManagers()
275 server.trustManagers[0], in createWithAdditionalKeyManagers()
319 final TrustManager[] trustManagers) in createSSLContext() argument
323 context.init(keyManagers, trustManagers, new SecureRandom()); in createSSLContext()
DTestTrustManager.java43 public static TrustManager[] wrap(TrustManager[] trustManagers) { in wrap() argument
44 TrustManager[] result = trustManagers.clone(); in wrap()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DHandshakeCompletedEventTest.java405 TrustManager[] trustManagers = new TrustManager[] { trustManager }; in TestServer() local
408 sslContext.init(keyManagers, trustManagers, null); in TestServer()
486 TrustManager[] trustManagers = new TrustManager[] { trustManager }; in run() local
489 sslContext.init(keyManagers, trustManagers, null); in run()
DSSLSessionTest.java481 TrustManager[] trustManagers = new TrustManager[] { trustManager }; in TestServer() local
484 sslContext.init(keyManagers, trustManagers, null); in TestServer()
564 TrustManager[] trustManagers = new TrustManager[] { trustManager }; in run() local
567 clientSslContext.init(keyManagers, trustManagers, null); in run()
DSSLSocketTest.java540 TrustManager[] trustManagers = new TrustManager[] { trustManager }; in run() local
543 sslContext.init(keyManagers, trustManagers, null); in run()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DFakeSSLContextSpi.java32 protected void engineInit(KeyManager[] keyManagers, TrustManager[] trustManagers, in engineInit() argument
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java744 TrustManager[] trustManagers = tmf.getTrustManagers(); in getContext() local
746 trustManagers = TestTrustManager.wrap(trustManagers); in getContext()
750 ctx.init(keyManagers, trustManagers, null); in getContext()
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java165 public final TrustManager[] trustManagers; field in TestKeyStore
173 this.trustManagers = createTrustManagers(keyStore); in TestKeyStore()
174 this.trustManager = (TestTrustManager)trustManagers[0]; in TestKeyStore()