Package com.google.api.gax.rpc.mtls (2.91.0)

GitHub Repository

Classes

Class Description
com.google.api.gax.rpc.mtls.CertificateBasedAccess Utility class for handling certificate-based access configurations.

This class handles the processing of GOOGLE_API_USE_CLIENT_CERTIFICATE, GOOGLE_API_CERTIFICATE_CONFIG, and GOOGLE_API_USE_MTLS_ENDPOINT configurations.

com.google.api.gax.rpc.mtls.CertificateRotationTracker Thread-safe helper that tracks workload certificate fingerprints on disk to detect mTLS certificate rotations for transport channels (ChannelPool and RefreshingHttpJsonChannel).
com.google.api.gax.rpc.mtls.ContextAwareMetadataJson Data class representing context_aware_metadata.json file.

This class is deprecated. It has been replaced by com.google.auth.mtls.ContextAwareMetadataJson from the Java auth library.

com.google.api.gax.rpc.mtls.MtlsProvider Provider class for mutual TLS. It is used to configure the mutual TLS in the transport with the default client certificate on device.

This class is deprecated. It has been replaced by com.google.auth.mtls.SecureConnectProvider

com.google.api.gax.rpc.mtls.WorkloadCertificateUtils Internal utility class for managing dynamic workload certificates.

Enums

Enum Description
com.google.api.gax.rpc.mtls.CertificateBasedAccess.MtlsEndpointUsagePolicy The policy for mutual TLS endpoint usage. NEVER means always use regular endpoint; ALWAYS means always use mTLS endpoint; AUTO means auto switch to mTLS endpoint if client certificate exists and should be used.
com.google.api.gax.rpc.mtls.MtlsProvider.MtlsEndpointUsagePolicy The policy for mutual TLS endpoint usage. NEVER means always use regular endpoint; ALWAYS means always use mTLS endpoint; AUTO means auto switch to mTLS endpoint if client certificate exists and should be used.