HomeSort by relevance Sort by last modified time
    Searched refs:TestSSLContext (Results 1 - 18 of 18) sorted by null

  /libcore/benchmarks/src/benchmarks/regression/
SSLLoopbackBenchmark.java 21 import libcore.javax.net.ssl.TestSSLContext;
28 TestSSLContext context = TestSSLContext.create(
  /external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
SSLEngineTest.java 63 TestSSLContext.create().clientContext.createSSLEngine());
68 TestSSLContext c = TestSSLContext.create();
123 TestSSLContext c = TestSSLContext.newBuilder()
130 // Create a TestSSLContext where the KeyManager returns wrong (randomly generated) private
134 // TestSSLContext.create.
135 TestSSLContext cWithWrongPrivateKeys;
169 cWithWrongPrivateKeys = TestSSLContext.create(testKeyStore, testKeyStore);
355 TestSSLContext c = TestSSLContext.create()
    [all...]
SSLSessionContextTest.java 45 TestSSLContext c = TestSSLContext.create();
55 if (TestSSLContext.sslServerSocketSupportsSessionTickets()) {
67 TestSSLContext c = TestSSLContext.create();
92 if (TestSSLContext.sslServerSocketSupportsSessionTickets()) {
104 TestSSLContext c = TestSSLContext.create();
123 TestSSLContext c = TestSSLContext.create()
    [all...]
SSLSocketTest.java 215 TestSSLContext c = TestSSLContext.newBuilder()
418 TestSSLContext c = TestSSLContext.create();
450 TestSSLContext c = TestSSLContext.create();
495 final TestSSLContext c = TestSSLContext.create();
515 TestSSLContext
517 TestSSLContext.assertCertificateInKeyStore(localCertificates[0], c.serverKeyStore)
    [all...]
SSLSessionTest.java 110 if (TestSSLContext.sslServerSocketSupportsSessionTickets()) {
142 TestSSLContext.assertServerCertificateChain(
144 TestSSLContext.assertCertificateInKeyStore(
156 TestSSLContext.assertCertificateInKeyStore(
201 TestSSLContext.assertServerCertificateChain(
203 TestSSLContext.assertCertificateInKeyStore(
216 TestSSLContext context = TestSSLContext.create();
301 TestSSLContext.assertCertificateInKeyStore(
449 final TestSSLContext c = TestSSLContext.create()
    [all...]
SSLContextTest.java 617 TestSSLContext testContext = TestSSLContext.create();
  /libcore/support/src/test/java/libcore/javax/net/ssl/
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,
TestSSLEnginePair.java 34 public final TestSSLContext c;
38 private TestSSLEnginePair(TestSSLContext c,
51 return create(TestSSLContext.create(), hooks);
54 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException {
58 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished)
64 public static SSLEngine[] connect(TestSSLContext c, Hooks hooks) throws IOException {
75 public static SSLEngine[] connect(final TestSSLContext c,
TestSSLContext.java 50 * TestSSLContext is a convenience class for other tests that
54 public final class TestSSLContext extends Assert {
203 private TestSSLContext(KeyStore clientKeyStore,
240 * Usual TestSSLContext creation method, creates underlying
244 public static TestSSLContext create() {
250 * TestSSLContext creation method that allows separate creation of server key store
252 public static TestSSLContext create(TestKeyStore client, TestKeyStore server) {
257 * TestSSLContext creation method that allows separate creation of server key store and
260 public static TestSSLContext createWithAdditionalKeyManagers(
281 * TestSSLContext creation method that allows separate creation of client and server key stor
    [all...]
  /external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
TestSSLSocketPair.java 32 public final TestSSLContext c;
35 private TestSSLSocketPair(TestSSLContext c, SSLSocket server, SSLSocket client) {
123 return create(TestSSLContext.create());
129 public static TestSSLSocketPair create(TestSSLContext context) {
TestSSLEnginePair.java 36 public final TestSSLContext c;
40 private TestSSLEnginePair(TestSSLContext c,
53 return create(TestSSLContext.create(), hooks);
56 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException {
60 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished)
66 public static SSLEngine[] connect(TestSSLContext c, Hooks hooks) throws IOException {
77 public static SSLEngine[] connect(final TestSSLContext c,
TestSSLContext.java 48 * TestSSLContext is a convenience class for other tests that
52 public final class TestSSLContext {
171 private TestSSLContext(KeyStore clientKeyStore, char[] clientStorePassword,
276 TestSSLContext build() {
331 return new TestSSLContext(client != null ? client.keyStore : null,
346 * Usual TestSSLContext creation method, creates underlying
350 public static TestSSLContext create() {
355 * TestSSLContext creation method that allows separate creation of server key store
357 public static TestSSLContext create(TestKeyStore client, TestKeyStore server) {
  /frameworks/base/core/tests/coretests/src/android/net/http/
AbstractProxyTest.java 29 import libcore.javax.net.ssl.TestSSLContext;
60 TestSSLContext testSSLContext = TestSSLContext.create();
62 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false);
70 SSLSocketFactory sslSocketFactory = newSslSocketFactory(testSSLContext);
83 private SSLSocketFactory newSslSocketFactory(TestSSLContext testSSLContext) throws Exception {
86 .newInstance(testSSLContext.clientContext.getSocketFactory());
149 TestSSLContext testSSLContext = TestSSLContext.create()
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java 90 import libcore.javax.net.ssl.TestSSLContext;
107 private List<TestSSLContext> testSSLContextsToClose;
131 for (TestSSLContext testSSLContext : testSSLContextsToClose) {
132 testSSLContext.close();
545 TestSSLContext testSSLContext = createDefaultTestSSLContext();
547 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false);
552 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory());
562 TestSSLContext testSSLContext = createDefaultTestSSLContext()
    [all...]
  /packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java 46 import libcore.javax.net.ssl.TestSSLContext;
200 SSLSocketFactory needClientAuth = TestSSLContext.clientAuth(sf, false, true);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
KeyChainTest.java 68 import libcore.javax.net.ssl.TestSSLContext;
322 SSLSocketFactory needsClientAuth = TestSSLContext.clientAuth(sf,
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
SSLEngineTest.java 39 import libcore.javax.net.ssl.TestSSLContext;
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyPairGeneratorTest.java 75 import libcore.javax.net.ssl.TestSSLContext;
    [all...]

Completed in 1213 milliseconds