Package com.google.auth.mtls (1.46.0)

GitHub Repository

Classes

Class Description
com.google.auth.mtls.ContextAwareMetadataJson Data class representing context_aware_metadata.json file. This is meant for internal Google Cloud usage and behavior may be changed without warning.

Note: This implementation is duplicated from the existing ContextAwareMetadataJson found in

com.google.auth.mtls.DefaultMtlsProviderFactory
com.google.auth.mtls.MtlsHttpTransportFactory An HttpTransportFactory that creates NetHttpTransport instances configured for mTLS (mutual TLS) using a specific KeyStore containing the client's certificate and private key.
com.google.auth.mtls.MtlsUtils Utility class for mTLS related operations.

For internal use only.

com.google.auth.mtls.SecureConnectProvider This class implements MtlsProvider for the Google Auth library transport layer via ContextAwareMetadataJson. This is only meant to be used internally by Google Cloud libraries, and the public facing methods may be changed without notice, and have no guarantee of backwards compatibility.
com.google.auth.mtls.X509Provider This class implements MtlsProvider for the Google Auth library transport layer via WorkloadCertificateConfiguration. This is only meant to be used internally by Google Cloud libraries, and the public facing methods may be changed without notice, and have no guarantee of backwards compatibility.

Interfaces

Interface Description
com.google.auth.mtls.MtlsProvider MtlsProvider is used by the Gax library for configuring mutual TLS in the HTTP and GRPC transport layer. The source of the client certificate is up to the implementation.

Note: This interface will replace the identically named "MtlsProvider" implementation in the

Exceptions

Exception Description
com.google.auth.mtls.CertificateSourceUnavailableException This exception is thrown by certificate providers in the Google auth library when the certificate source is unavailable. This means that the transport layer should move on to the next certificate source provider type.