Home
last modified time | relevance | path

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

12

/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLContextTest.java73 SSLContext sslContext = SSLContext.getDefault(); in test_SSLContext_getDefault() local
110 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_defaultConfiguration() local
122 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly() local
136 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly() local
163 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_SSLContext_emptyConfiguration_defaultProviderOnly() local
198 List<String> expectedCipherSuites, SSLContext sslContext) throws Exception { in assertEnabledCipherSuites()
310 SSLContext sslContext = SSLContext.getInstance(StandardNames.SSL_CONTEXT_PROTOCOLS_DEFAULT); in test_SSLContext_init_Default() local
343 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_init_withNullManagerArrays() local
510 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_getSocketFactory() local
534 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_getServerSocketFactory() local
[all …]
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLContextTest.java77 SSLContext sslContext = SSLContext.getDefault(); in test_SSLContext_getDefault() local
114 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_defaultConfiguration() local
126 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly() local
140 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly() local
167 SSLContext sslContext = SSLContext.getInstance("TLS"); in test_SSLContext_emptyConfiguration_defaultProviderOnly() local
201 List<String> expectedCipherSuites, SSLContext sslContext) throws Exception { in assertEnabledCipherSuites()
313 SSLContext sslContext = SSLContext.getInstance(StandardNames.SSL_CONTEXT_PROTOCOLS_DEFAULT); in test_SSLContext_init_Default() local
346 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_init_withNullManagerArrays() local
522 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_getSocketFactory() local
546 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_getServerSocketFactory() local
[all …]
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DSSLConfigurationAsserts.java48 public static void assertSSLContextDefaultConfiguration(SSLContext sslContext) in assertSSLContextDefaultConfiguration()
65 assertSSLSocketFactoryConfigSameAsSSLContext(sslContext.getSocketFactory(), sslContext); in assertSSLContextDefaultConfiguration() local
67 sslContext.getServerSocketFactory(), sslContext); in assertSSLContextDefaultConfiguration() local
86 SSLSocketFactory sslSocketFactory, SSLContext sslContext) throws IOException { in assertSSLSocketFactoryConfigSameAsSSLContext()
112 SSLSocket sslSocket, SSLContext sslContext) { in assertSSLSocketConfigSameAsSSLContext()
141 SSLServerSocketFactory sslServerSocketFactory, SSLContext sslContext) in assertSSLServerSocketFactoryConfigSameAsSSLContext()
172 SSLServerSocket sslServerSocket, SSLContext sslContext) { in assertSSLServerSocketConfigSameAsSSLContext()
198 SSLEngine sslEngine, SSLContext sslContext) { in assertSSLEngineConfigSameAsSSLContext()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DSSLConfigurationAsserts.java50 public static void assertSSLContextDefaultConfiguration(SSLContext sslContext) in assertSSLContextDefaultConfiguration()
67 assertSSLSocketFactoryConfigSameAsSSLContext(sslContext.getSocketFactory(), sslContext); in assertSSLContextDefaultConfiguration() local
69 sslContext.getServerSocketFactory(), sslContext); in assertSSLContextDefaultConfiguration() local
88 SSLSocketFactory sslSocketFactory, SSLContext sslContext) throws IOException { in assertSSLSocketFactoryConfigSameAsSSLContext()
114 SSLSocket sslSocket, SSLContext sslContext) { in assertSSLSocketConfigSameAsSSLContext()
143 SSLServerSocketFactory sslServerSocketFactory, SSLContext sslContext) in assertSSLServerSocketFactoryConfigSameAsSSLContext()
174 SSLServerSocket sslServerSocket, SSLContext sslContext) { in assertSSLServerSocketConfigSameAsSSLContext()
200 SSLEngine sslEngine, SSLContext sslContext) { in assertSSLEngineConfigSameAsSSLContext()
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/
DSampleServer.java23 private final SSLContext sslContext; field in SampleServer
27 public SampleServer(SSLContext sslContext, String root, int port) { in SampleServer()
114 SSLContext sslContext = sslContext(keystoreFile, password); in main() local
119 private static SSLContext sslContext(String keystoreFile, String password) in sslContext() method in SampleServer
136 SSLContext sslContext = SSLContext.getInstance("TLS"); in sslContext() local
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DCustomTrust.java41 SSLContext sslContext = sslContextForTrustedCertificates(trustedCertificatesInputStream()); in CustomTrust() local
183 SSLContext sslContext = SSLContext.getInstance("TLS"); in sslContextForTrustedCertificates() local
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DConcurrencyTest.java196 SslContext sslContext = in newServer() local
216 SslContext sslContext = in newClientChannel() local
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DGoogleDefaultProtocolNegotiator.java31 public GoogleDefaultProtocolNegotiator(TsiHandshakerFactory altsFactory, SslContext sslContext) { in GoogleDefaultProtocolNegotiator()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerBuilderTest.java48 SslContext sslContext = mock(SslContext.class); in failIfSslContextIsNotServer() local
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DOkHttpAsync.java56 SSLContext sslContext = SslContextBuilder.localhost(); in prepare() local
DUrlConnection.java37 SSLContext sslContext = SslContextBuilder.localhost(); in prepare() local
DOkHttp.java41 SSLContext sslContext = SslContextBuilder.localhost(); in prepare() local
DApacheHttpClient.java45 SSLContext sslContext = SslContextBuilder.localhost(); in prepare() local
DBenchmark.java164 SSLContext sslContext = SslContextBuilder.localhost(); in startServer() local
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerBuilder.java78 private SslContext sslContext; field in NettyServerBuilder
193 public NettyServerBuilder sslContext(SslContext sslContext) { in sslContext() argument
DNettyChannelBuilder.java77 private SslContext sslContext; field in NettyChannelBuilder
183 public NettyChannelBuilder sslContext(SslContext sslContext) { in sslContext() argument
384 SslContext sslContext) { in createProtocolNegotiatorByType()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceServer.java131 SslContext sslContext = null; in start() local
DTestServiceClient.java361 SslContext sslContext = null; in createChannel() local
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
DSslContextBuilder.java114 SSLContext sslContext = SSLContext.getInstance("TLS"); in build() local
/external/okhttp/android/src/test/java/com/squareup/okhttp/internal/
DPlatformTest.java88 SSLContext sslContext = SSLContext.getInstance("TLSv1.2"); in rootTrustIndex_notNull_viaSocketFactory() local
102 SSLContext sslContext = SSLContext.getInstance("TLSv1.2"); in trustManager() local
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworldtls/
DHelloWorldClientTls.java64 SslContext sslContext) throws SSLException { in HelloWorldClientTls()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DGoogleDefaultChannelBuilder.java86 SslContext sslContext; in GoogleDefaultChannelBuilder() local
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DConnectionSpecSelectorTest.java42 private SSLContext sslContext = SslContextBuilder.localhost(); field in ConnectionSpecSelectorTest
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DCacheAdapterTest.java61 private SSLContext sslContext = SslContextBuilder.localhost(); field in CacheAdapterTest
/external/apache-http/android/src/android/net/http/
DHttpsConnection.java81 SSLContext sslContext = SSLContext.getInstance("TLS", "AndroidOpenSSL"); in initializeEngine() local

12