Home
last modified time | relevance | path

Searched defs:sslContext (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLContextTest.java56 SSLContext sslContext = SSLContext.getDefault(); in test_SSLContext_getDefault() local
87 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_defaultConfiguration() local
98 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly() local
113 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly() local
141 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_SSLContext_emptyConfiguration_defaultProviderOnly() local
148 sslContext); in test_SSLContext_emptyConfiguration_defaultProviderOnly() local
173 List<String> expectedCipherSuites, SSLContext sslContext) throws Exception { in assertEnabledCipherSuites()
257 SSLContext sslContext = SSLContext.getInstance(StandardNames.SSL_CONTEXT_PROTOCOLS_DEFAULT); in test_SSLContext_init_Default() local
285 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_init_withNullManagerArrays() local
447 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_getSocketFactory() local
[all …]
DSSLSocketTest.java1620 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_SSLSocket_ClientHello_record_size() local
1735 SSLContext sslContext = SSLContext.getInstance(sslContextProtocol); in getSSLSocketFactoriesToTest() local
/libcore/support/src/test/java/libcore/javax/net/ssl/
DSSLConfigurationAsserts.java48 public static void assertSSLContextDefaultConfiguration(SSLContext sslContext) in assertSSLContextDefaultConfiguration()
68 assertSSLSocketFactoryConfigSameAsSSLContext(sslContext.getSocketFactory(), sslContext); in assertSSLContextDefaultConfiguration() local
70 sslContext); in assertSSLContextDefaultConfiguration() local
93 SSLSocketFactory sslSocketFactory, SSLContext sslContext) throws IOException { in assertSSLSocketFactoryConfigSameAsSSLContext()
119 SSLContext sslContext) { in assertSSLSocketConfigSameAsSSLContext()
149 SSLServerSocketFactory sslServerSocketFactory, SSLContext sslContext) throws IOException { in assertSSLServerSocketFactoryConfigSameAsSSLContext()
178 SSLContext sslContext) { in assertSSLServerSocketConfigSameAsSSLContext()
208 SSLContext sslContext) { in assertSSLEngineConfigSameAsSSLContext()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLContext1Test.java104 SSLContext sslContext = new MySslContext(spi, defaultProvider, in test_ConstructorLjavax_net_ssl_SSLContextSpiLjava_security_ProviderLjava_lang_String() local
146 SSLContext sslContext = new MySslContext(spi, defaultProvider, in test_createSSLEngine() local
161 SSLContext sslContext = new MySslContext(spi, defaultProvider, in test_createSSLEngineLjava_lang_StringI() local
200 SSLContext sslContext; in test_getInstanceLjava_lang_String01() local
316 SSLContext sslContext; in test_getInstanceLjava_lang_StringLjava_lang_String04() local
381 SSLContext sslContext; in test_getInstanceLjava_lang_StringLjava_security_Provider03() local
400 SSLContext sslContext = new MySslContext(spi, defaultProvider, in test_getProtocol() local
427 SSLContext sslContext = new MySslContext(spi, defaultProvider, in test_getProvider() local
555 SSLContext sslContext = new MySslContext(spi, defaultProvider, in test_init$Ljavax_net_ssl_KeyManager$Ljavax_net_ssl_TrustManagerLjava_security_SecureRandom() local
DSSLSocketTest.java209 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_creationStressTest() local
538 SSLContext sslContext = SSLContext.getInstance("TLS"); in run() local
DHandshakeCompletedEventTest.java407 SSLContext sslContext = SSLContext.getInstance("TLS"); in TestServer() local
490 SSLContext sslContext = SSLContext.getInstance("TLS"); in run() local
DSSLServerSocketTest.java419 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_creationStressTest() local
DSSLSessionTest.java520 SSLContext sslContext = SSLContext.getInstance("TLS"); in TestServer() local
/libcore/benchmarks/src/benchmarks/regression/
DSSLSocketBenchmark.java76 SSLContext sslContext = SSLContext.getInstance("SSL"); in setUp() local
/libcore/ojluni/src/main/java/sun/security/ssl/
DSSLServerSocketImpl.java69 private SSLContextImpl sslContext; field in SSLServerSocketImpl
DSSLEngineImpl.java192 private SSLContextImpl sslContext; field in SSLEngineImpl
DHandshaker.java125 SSLContextImpl sslContext; field in Handshaker
DSSLSocketImpl.java316 private SSLContextImpl sslContext; field in SSLSocketImpl