Home
last modified time | relevance | path

Searched refs:trustCertCollectionFilePath (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworldtls/
DHelloWorldServerTls.java47 private final String trustCertCollectionFilePath; field in HelloWorldServerTls
53 String trustCertCollectionFilePath) { in HelloWorldServerTls() argument
58 this.trustCertCollectionFilePath = trustCertCollectionFilePath; in HelloWorldServerTls()
64 if (trustCertCollectionFilePath != null) { in getSslContextBuilder()
65 sslClientContextBuilder.trustManager(new File(trustCertCollectionFilePath)); in getSslContextBuilder()
DHelloWorldClientTls.java46 private static SslContext buildSslContext(String trustCertCollectionFilePath, in buildSslContext() argument
50 if (trustCertCollectionFilePath != null) { in buildSslContext()
51 builder.trustManager(new File(trustCertCollectionFilePath)); in buildSslContext()
/external/grpc-grpc-java/examples/
DREADME.md43 …E: HelloWorldServerTls host port certChainFilePath privateKeyFilePath [trustCertCollectionFilePath]
44 Note: You only need to supply trustCertCollectionFilePath if you want to enable Mutual TLS.
50 USAGE: HelloWorldClientTls host port [trustCertCollectionFilePath] [clientCertChainFilePath] [clien…