tls

Available in a dev version: 0․11․0-grpc-186

How to configure

Configures and creates secure client credentials for the gRPC client.

This method takes a configuration block in which TLS-related parameters, such as trust managers and key managers, can be defined. The resulting credentials are used to establish secure communication between the gRPC client and server, ensuring encrypted transmission of data and mutual authentication if configured.

Alternatively, you can use the GrpcTlsClientCredentials constructor.

Return

A secure GrpcClientCredentials instance that must be passed to credentials.

Parameters

configure

A configuration block that allows setting up the TLS parameters using the GrpcTlsClientCredentialsBuilder.

See also