/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | GrpcSslContexts.java | 30 import io.netty.handler.ssl.SslContextBuilder; 119 public static SslContextBuilder forClient() { in forClient() 120 return configure(SslContextBuilder.forClient()); in forClient() 129 public static SslContextBuilder forServer(File keyCertChainFile, File keyFile) { in forServer() 130 return configure(SslContextBuilder.forServer(keyCertChainFile, keyFile)); in forServer() 139 public static SslContextBuilder forServer( in forServer() 141 return configure(SslContextBuilder.forServer(keyCertChainFile, keyFile, keyPassword)); in forServer() 150 public static SslContextBuilder forServer(InputStream keyCertChain, InputStream key) { in forServer() 151 return configure(SslContextBuilder.forServer(keyCertChain, key)); in forServer() 160 public static SslContextBuilder forServer( in forServer() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
D | CertificatePinnerChainValidationTest.java | 24 import com.squareup.okhttp.internal.SslContextBuilder; 63 SSLContext clientContext = new SslContextBuilder() in pinRootNotPresentInChain() 71 SSLContext serverSslContext = new SslContextBuilder() in pinRootNotPresentInChain() 118 SSLContext clientContext = new SslContextBuilder() in pinIntermediatePresentInChain() 126 SSLContext serverSslContext = new SslContextBuilder() in pinIntermediatePresentInChain() 177 SSLContext clientContext = new SslContextBuilder() in unrelatedPinnedLeafCertificateInChain() 200 SSLContext serverSslContext = new SslContextBuilder() in unrelatedPinnedLeafCertificateInChain() 249 SSLContext clientContext = new SslContextBuilder() in unrelatedPinnedIntermediateCertificateInChain() 273 SSLContext serverSslContext = new SslContextBuilder() in unrelatedPinnedIntermediateCertificateInChain()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/ |
D | SslContextBuilder.java | 41 public final class SslContextBuilder { class 55 localhost = new SslContextBuilder() in localhost() 76 public SslContextBuilder certificateChain(HeldCertificate... chain) { in certificateChain() 85 public SslContextBuilder addTrustedCertificate(X509Certificate certificate) { in addTrustedCertificate()
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworldtls/ |
D | HelloWorldServerTls.java | 27 import io.netty.handler.ssl.SslContextBuilder; 61 private SslContextBuilder getSslContextBuilder() { in getSslContextBuilder() 62 …SslContextBuilder sslClientContextBuilder = SslContextBuilder.forServer(new File(certChainFilePath… in getSslContextBuilder()
|
D | HelloWorldClientTls.java | 29 import io.netty.handler.ssl.SslContextBuilder; 49 SslContextBuilder builder = GrpcSslContexts.forClient(); in buildSslContext()
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | TlsTest.java | 37 import io.netty.handler.ssl.SslContextBuilder; 89 private SslContextBuilder clientContextBuilder; 118 GrpcSslContexts.configure(SslContextBuilder.forClient(), jdkProvider); in setUp() 132 clientContextBuilder = SslContextBuilder.forClient(); in setUp() 320 SslContextBuilder sslContextBuilder in serverBuilder() 321 = SslContextBuilder.forServer(serverCertChainFile, serverPrivateKeyFile); in serverBuilder()
|
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/ |
D | OpenJdkEngineFactory.java | 30 import io.netty.handler.ssl.SslContextBuilder; 228 SslContextBuilder ctx = in newNettyClientContext() 229 SslContextBuilder.forClient() in newNettyClientContext() 246 SslContextBuilder ctx = in newNettyServerContext() 247 SslContextBuilder in newNettyServerContext()
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | OkHttp.java | 21 import com.squareup.okhttp.internal.SslContextBuilder; 41 SSLContext sslContext = SslContextBuilder.localhost(); in prepare()
|
D | UrlConnection.java | 19 import com.squareup.okhttp.internal.SslContextBuilder; 37 SSLContext sslContext = SslContextBuilder.localhost(); in prepare()
|
D | ApacheHttpClient.java | 19 import com.squareup.okhttp.internal.SslContextBuilder; 45 SSLContext sslContext = SslContextBuilder.localhost(); in prepare()
|
D | OkHttpAsync.java | 25 import com.squareup.okhttp.internal.SslContextBuilder; 56 SSLContext sslContext = SslContextBuilder.localhost(); in prepare()
|
D | Benchmark.java | 23 import com.squareup.okhttp.internal.SslContextBuilder; 164 SSLContext sslContext = SslContextBuilder.localhost(); in startServer()
|
D | NettyHttpClient.java | 19 import com.squareup.okhttp.internal.SslContextBuilder; 72 SSLContext sslContext = SslContextBuilder.localhost(); in prepare()
|
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/ |
D | Http2OkHttpTest.java | 38 import io.netty.handler.ssl.SslContextBuilder; 75 SslContextBuilder contextBuilder = SslContextBuilder in getServerBuilder()
|
/external/grpc-grpc-java/netty/shaded/src/testShadow/java/io/grpc/netty/shaded/ |
D | ShadingTest.java | 29 import io.grpc.netty.shaded.io.netty.handler.ssl.SslContextBuilder; 97 GrpcSslContexts.configure(SslContextBuilder.forClient(), SslProvider.OPENSSL) in tcnative()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/ |
D | FramedServer.java | 21 import com.squareup.okhttp.internal.SslContextBuilder; 185 SslContextBuilder.localhost().getSocketFactory()); in main()
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | WebSocketCallTest.java | 23 import com.squareup.okhttp.internal.SslContextBuilder; 44 private final SSLContext sslContext = SslContextBuilder.localhost();
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | CacheAdapterTest.java | 22 import com.squareup.okhttp.internal.SslContextBuilder; 61 private SSLContext sslContext = SslContextBuilder.localhost();
|
D | ResponseCacheTest.java | 26 import com.squareup.okhttp.internal.SslContextBuilder; 98 private SSLContext sslContext = SslContextBuilder.localhost();
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | ConnectionReuseTest.java | 18 import com.squareup.okhttp.internal.SslContextBuilder; 37 private SSLContext sslContext = SslContextBuilder.localhost();
|
D | CallTest.java | 21 import com.squareup.okhttp.internal.SslContextBuilder; 93 private SSLContext sslContext = SslContextBuilder.localhost();
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | ConnectionSpecSelectorTest.java | 42 private SSLContext sslContext = SslContextBuilder.localhost();
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | RouteSelectorTest.java | 24 import com.squareup.okhttp.internal.SslContextBuilder; 66 private final SSLContext sslContext = SslContextBuilder.localhost();
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 25 import com.squareup.okhttp.internal.SslContextBuilder; 74 protected SSLContext sslContext = SslContextBuilder.localhost();
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 20 import com.squareup.okhttp.internal.SslContextBuilder; 85 private final SSLContext sslContext = SslContextBuilder.localhost();
|