/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLContextTest.java | 73 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/ |
D | SSLContextTest.java | 77 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/ |
D | SSLConfigurationAsserts.java | 48 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/ |
D | SSLConfigurationAsserts.java | 50 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/ |
D | SampleServer.java | 23 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/ |
D | CustomTrust.java | 41 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/ |
D | ConcurrencyTest.java | 196 SslContext sslContext = in newServer() local 216 SslContext sslContext = in newClientChannel() local
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
D | GoogleDefaultProtocolNegotiator.java | 31 public GoogleDefaultProtocolNegotiator(TsiHandshakerFactory altsFactory, SslContext sslContext) { in GoogleDefaultProtocolNegotiator()
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyServerBuilderTest.java | 48 SslContext sslContext = mock(SslContext.class); in failIfSslContextIsNotServer() local
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | OkHttpAsync.java | 56 SSLContext sslContext = SslContextBuilder.localhost(); in prepare() local
|
D | UrlConnection.java | 37 SSLContext sslContext = SslContextBuilder.localhost(); in prepare() local
|
D | OkHttp.java | 41 SSLContext sslContext = SslContextBuilder.localhost(); in prepare() local
|
D | ApacheHttpClient.java | 45 SSLContext sslContext = SslContextBuilder.localhost(); in prepare() local
|
D | Benchmark.java | 164 SSLContext sslContext = SslContextBuilder.localhost(); in startServer() local
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | NettyServerBuilder.java | 78 private SslContext sslContext; field in NettyServerBuilder 193 public NettyServerBuilder sslContext(SslContext sslContext) { in sslContext() argument
|
D | NettyChannelBuilder.java | 77 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/ |
D | TestServiceServer.java | 131 SslContext sslContext = null; in start() local
|
D | TestServiceClient.java | 361 SslContext sslContext = null; in createChannel() local
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/ |
D | SslContextBuilder.java | 114 SSLContext sslContext = SSLContext.getInstance("TLS"); in build() local
|
/external/okhttp/android/src/test/java/com/squareup/okhttp/internal/ |
D | PlatformTest.java | 88 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/ |
D | HelloWorldClientTls.java | 64 SslContext sslContext) throws SSLException { in HelloWorldClientTls()
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/ |
D | GoogleDefaultChannelBuilder.java | 86 SslContext sslContext; in GoogleDefaultChannelBuilder() local
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | ConnectionSpecSelectorTest.java | 42 private SSLContext sslContext = SslContextBuilder.localhost(); field in ConnectionSpecSelectorTest
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | CacheAdapterTest.java | 61 private SSLContext sslContext = SslContextBuilder.localhost(); field in CacheAdapterTest
|
/external/apache-http/android/src/android/net/http/ |
D | HttpsConnection.java | 81 SSLContext sslContext = SSLContext.getInstance("TLS", "AndroidOpenSSL"); in initializeEngine() local
|