Searched refs:trustManagers (Results 1 – 8 of 8) sorted by relevance
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLContext.java | 267 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()
|
D | TestTrustManager.java | 43 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/ |
D | HandshakeCompletedEventTest.java | 405 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()
|
D | SSLSessionTest.java | 481 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()
|
D | SSLSocketTest.java | 540 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/ |
D | FakeSSLContextSpi.java | 32 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/ |
D | HttpsURLConnectionTest.java | 744 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/ |
D | TestKeyStore.java | 165 public final TrustManager[] trustManagers; field in TestKeyStore 173 this.trustManagers = createTrustManagers(keyStore); in TestKeyStore() 174 this.trustManager = (TestTrustManager)trustManagers[0]; in TestKeyStore()
|