Searched refs:TestSSLContext (Results 1 - 9 of 9) sorted by relevance
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
H A D | SSLSessionContextTest.java | 32 public static final void assertSSLSessionContextSize(int expected, TestSSLContext c) { 52 if (server && TestSSLContext.sslServerSocketSupportsSessionTickets()) { 60 TestSSLContext c = TestSSLContext.create(); 70 if (TestSSLContext.sslServerSocketSupportsSessionTickets()) { 81 TestSSLContext c = TestSSLContext.create(); 104 if (TestSSLContext.sslServerSocketSupportsSessionTickets()) { 115 TestSSLContext c = TestSSLContext [all...] |
H A D | SSLEngineTest.java | 63 TestSSLContext c = TestSSLContext.create(); 87 TestSSLContext c = TestSSLContext.create(testKeyStore, testKeyStore); 89 // Create a TestSSLContext where the KeyManager returns wrong (randomly generated) private 92 // first element of TestKeyStore.keyManagers while invoking TestSSLContext.create. 93 TestSSLContext cWithWrongPrivateKeys; 98 cWithWrongPrivateKeys = TestSSLContext.create(testKeyStore, testKeyStore); 170 TestSSLContext c = TestSSLContext [all...] |
H A D | SSLSocketTest.java | 131 TestSSLContext c = TestSSLContext.create(testKeyStore, testKeyStore, 293 final TestSSLContext c = TestSSLContext.create(); 311 TestSSLContext.assertServerCertificateChain(c.serverTrustManager, 313 TestSSLContext.assertCertificateInKeyStore(localCertificates[0], 326 TestSSLContext.assertServerCertificateChain(c.clientTrustManager, 328 TestSSLContext.assertCertificateInKeyStore(peerCertificates[0], c.serverKeyStore); 349 final TestSSLContext c = TestSSLContext [all...] |
H A D | SSLSessionTest.java | 84 if (TestSSLContext.sslServerSocketSupportsSessionTickets()) { 116 TestSSLContext.assertServerCertificateChain(s.s.c.serverTrustManager, 118 TestSSLContext.assertCertificateInKeyStore(s.server.getLocalCertificates()[0], 129 TestSSLContext.assertCertificateInKeyStore(s.server.getLocalPrincipal(), 168 TestSSLContext.assertServerCertificateChain(s.s.c.serverTrustManager, 170 TestSSLContext.assertCertificateInKeyStore(s.client.getPeerCertificates()[0], 210 TestSSLContext.assertCertificateInKeyStore(s.client.getPeerPrincipal(),
|
H A D | SSLContextTest.java | 295 TestSSLContext testContext = TestSSLContext.create();
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestSSLSocketPair.java | 33 public final TestSSLContext c; 37 private TestSSLSocketPair (TestSSLContext c, 59 TestSSLContext c = TestSSLContext.create(); 71 public static SSLSocket[] connect (final TestSSLContext context,
|
H A D | TestSSLEnginePair.java | 33 public final TestSSLContext c; 37 private TestSSLEnginePair(TestSSLContext c, 46 return create(TestSSLContext.create(), hooks); 49 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException { 61 public static SSLEngine[] connect(final TestSSLContext c,
|
H A D | TestSSLContext.java | 43 * TestSSLContext is a convenience class for other tests that 47 public final class TestSSLContext extends Assert { class in inherits:Assert 94 private TestSSLContext(KeyStore clientKeyStore, method in class:TestSSLContext 131 * Usual TestSSLContext creation method, creates underlying 135 public static TestSSLContext create() { 141 * TestSSLContext creation method that allows separate creation of server key store 143 public static TestSSLContext create(TestKeyStore client, TestKeyStore server) { 147 public static TestSSLContext create(TestKeyStore client, TestKeyStore server, 165 * TestSSLContext creation method that allows separate creation of client and server key store 167 public static TestSSLContext creat [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URLConnectionTest.java | 74 import libcore.javax.net.ssl.TestSSLContext; 340 TestSSLContext testSSLContext = TestSSLContext.create(); 361 TestSSLContext testSSLContext = TestSSLContext.create(); 462 TestSSLContext testSSLContext = TestSSLContext.create(); 479 TestSSLContext testSSLContext = TestSSLContext.create(); 501 TestSSLContext testSSLContex [all...] |
Completed in 58 milliseconds