Home
last modified time | relevance | path

Searched refs:SslContextBuilder (Results 1 – 25 of 27) sorted by relevance

12

/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DGrpcSslContexts.java30 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/
DCertificatePinnerChainValidationTest.java24 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/
DSslContextBuilder.java41 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/
DHelloWorldServerTls.java27 import io.netty.handler.ssl.SslContextBuilder;
61 private SslContextBuilder getSslContextBuilder() { in getSslContextBuilder()
62SslContextBuilder sslClientContextBuilder = SslContextBuilder.forServer(new File(certChainFilePath… in getSslContextBuilder()
DHelloWorldClientTls.java29 import io.netty.handler.ssl.SslContextBuilder;
49 SslContextBuilder builder = GrpcSslContexts.forClient(); in buildSslContext()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DTlsTest.java37 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/
DOpenJdkEngineFactory.java30 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/
DOkHttp.java21 import com.squareup.okhttp.internal.SslContextBuilder;
41 SSLContext sslContext = SslContextBuilder.localhost(); in prepare()
DUrlConnection.java19 import com.squareup.okhttp.internal.SslContextBuilder;
37 SSLContext sslContext = SslContextBuilder.localhost(); in prepare()
DApacheHttpClient.java19 import com.squareup.okhttp.internal.SslContextBuilder;
45 SSLContext sslContext = SslContextBuilder.localhost(); in prepare()
DOkHttpAsync.java25 import com.squareup.okhttp.internal.SslContextBuilder;
56 SSLContext sslContext = SslContextBuilder.localhost(); in prepare()
DBenchmark.java23 import com.squareup.okhttp.internal.SslContextBuilder;
164 SSLContext sslContext = SslContextBuilder.localhost(); in startServer()
DNettyHttpClient.java19 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/
DHttp2OkHttpTest.java38 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/
DShadingTest.java29 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/
DFramedServer.java21 import com.squareup.okhttp.internal.SslContextBuilder;
185 SslContextBuilder.localhost().getSocketFactory()); in main()
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
DWebSocketCallTest.java23 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/
DCacheAdapterTest.java22 import com.squareup.okhttp.internal.SslContextBuilder;
61 private SSLContext sslContext = SslContextBuilder.localhost();
DResponseCacheTest.java26 import com.squareup.okhttp.internal.SslContextBuilder;
98 private SSLContext sslContext = SslContextBuilder.localhost();
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionReuseTest.java18 import com.squareup.okhttp.internal.SslContextBuilder;
37 private SSLContext sslContext = SslContextBuilder.localhost();
DCallTest.java21 import com.squareup.okhttp.internal.SslContextBuilder;
93 private SSLContext sslContext = SslContextBuilder.localhost();
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DConnectionSpecSelectorTest.java42 private SSLContext sslContext = SslContextBuilder.localhost();
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRouteSelectorTest.java24 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/
DHttpOverSpdyTest.java25 import com.squareup.okhttp.internal.SslContextBuilder;
74 protected SSLContext sslContext = SslContextBuilder.localhost();
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java20 import com.squareup.okhttp.internal.SslContextBuilder;
85 private final SSLContext sslContext = SslContextBuilder.localhost();

12