Home
last modified time | relevance | path

Searched refs:GrpcSslContexts (Results 1 – 21 of 21) sorted by relevance

/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DGrpcSslContextsTest.java30 GrpcSslContexts.NEXT_PROTOCOL_VERSIONS.indexOf("grpc-exp") == -1 in selectApplicationProtocolConfig_grpcExp()
31 || GrpcSslContexts.NEXT_PROTOCOL_VERSIONS.indexOf("grpc-exp") in selectApplicationProtocolConfig_grpcExp()
32 < GrpcSslContexts.NEXT_PROTOCOL_VERSIONS.indexOf("h2")); in selectApplicationProtocolConfig_grpcExp()
DTlsTest.java118 GrpcSslContexts.configure(SslContextBuilder.forClient(), jdkProvider); in setUp()
134 GrpcSslContexts.configure(clientContextBuilder, jdkProvider); in setUp()
136 GrpcSslContexts.configure(clientContextBuilder, sslProvider); in setUp()
323 GrpcSslContexts.configure(sslContextBuilder, jdkProvider); in serverBuilder()
325 GrpcSslContexts.configure(sslContextBuilder, sslProvider); in serverBuilder()
DNettyChannelBuilderTest.java171 GrpcSslContexts.forClient().build()); in createProtocolNegotiatorByType_tlsWithClientContext()
185 GrpcSslContexts.forClient().build()); in createProtocolNegotiatorByType_tlsWithAuthorityFallback()
DProtocolNegotiatorsTest.java96 sslContext = GrpcSslContexts.forServer(serverCert, key) in setUp()
262 SslContext ctx = GrpcSslContexts.forClient().build(); in tls_hostAndPort()
272 SslContext ctx = GrpcSslContexts.forClient().build(); in tls_host()
282 SslContext ctx = GrpcSslContexts.forClient().build(); in tls_invalidHost()
DNettyClientTransportTest.java281 SslContext sslContext = GrpcSslContexts.forServer(serverCert, serverKey) in tlsNegotiationFailurePropagatesToStatus()
291 SslContext clientContext = GrpcSslContexts.forClient() in tlsNegotiationFailurePropagatesToStatus()
574 SslContext clientContext = GrpcSslContexts.forClient().trustManager(caCert) in newNegotiator()
634 return GrpcSslContexts.forServer(serverCert, key) in createSslContext()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DHttp2NettyTest.java25 import io.grpc.netty.GrpcSslContexts;
50 .sslContext(GrpcSslContexts in getServerBuilder()
68 .sslContext(GrpcSslContexts in createChannel()
DConcurrencyTest.java24 import io.grpc.netty.GrpcSslContexts;
197 GrpcSslContexts.forServer(serverCertChainFile, serverPrivateKeyFile) in newServer()
217 GrpcSslContexts.forClient() in newClientChannel()
DHttp2OkHttpTest.java30 import io.grpc.netty.GrpcSslContexts;
77 GrpcSslContexts.configure(contextBuilder, sslProvider); in getServerBuilder()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DGrpcSslContexts.java50 public class GrpcSslContexts { class
51 private static final Logger logger = Logger.getLogger(GrpcSslContexts.class.getName());
53 private GrpcSslContexts() {} in GrpcSslContexts() method in GrpcSslContexts
DNettyServerBuilder.java197 GrpcSslContexts.ensureAlpnAndH2Enabled(sslContext.applicationProtocolNegotiator()); in sslContext()
445 sslContext = GrpcSslContexts.forServer(certChain, privateKey).build(); in useTransportSecurity()
456 sslContext = GrpcSslContexts.forServer(certChain, privateKey).build(); in useTransportSecurity()
DNettyChannelBuilder.java187 GrpcSslContexts.ensureAlpnAndH2Enabled(sslContext.applicationProtocolNegotiator()); in sslContext()
340 localSslContext = GrpcSslContexts.forClient().build(); in buildTransportFactory()
DProtocolNegotiators.java20 import static io.grpc.netty.GrpcSslContexts.NEXT_PROTOCOL_VERSIONS;
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworldtls/
DHelloWorldServerTls.java23 import io.grpc.netty.GrpcSslContexts;
68 return GrpcSslContexts.configure(sslClientContextBuilder, in getSslContextBuilder()
DHelloWorldClientTls.java25 import io.grpc.netty.GrpcSslContexts;
49 SslContextBuilder builder = GrpcSslContexts.forClient(); in buildSslContext()
/external/grpc-grpc-java/netty/shaded/src/testShadow/java/io/grpc/netty/shaded/
DShadingTest.java26 import io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts;
97 GrpcSslContexts.configure(SslContextBuilder.forClient(), SslProvider.OPENSSL) in tcnative()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceServer.java25 import io.grpc.netty.GrpcSslContexts;
143 GrpcSslContexts.forServer( in start()
DTestServiceClient.java27 import io.grpc.netty.GrpcSslContexts;
364 sslContext = GrpcSslContexts.forClient().trustManager( in createChannel()
DStressTestClient.java41 import io.grpc.netty.GrpcSslContexts;
345 sslContext = GrpcSslContexts.forClient().trustManager( in createChannel()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DGoogleDefaultChannelBuilder.java44 import io.grpc.netty.GrpcSslContexts;
88 sslContext = GrpcSslContexts.forClient().build(); in GoogleDefaultChannelBuilder()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/
DUtils.java31 import io.grpc.netty.GrpcSslContexts;
142 builder.sslContext(GrpcSslContexts.forClient().trustManager(cert).build()); in newNettyClientChannel()
/external/grpc-grpc-java/
DSECURITY.md291 .sslContext(GrpcSslContexts.forServer(certChainFile, privateKeyFile)