Package com.google.auth.mtls
Class MtlsHttpTransportFactory
java.lang.Object
com.google.auth.mtls.MtlsHttpTransportFactory
- All Implemented Interfaces:
HttpTransportFactory
An HttpTransportFactory that creates
NetHttpTransport instances configured for mTLS
(mutual TLS) using a specific KeyStore containing the client's certificate and private
key.
Warning: This class is considered internal and is not intended for direct use by library consumers. Its API and behavior may change without notice.
-
Constructor Summary
ConstructorsConstructorDescriptionMtlsHttpTransportFactory(KeyStore mtlsKeyStore) Constructs a factory for mTLS transports. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.api.client.http.javanet.NetHttpTransportcreate()Creates aHttpTransportinstance.
-
Constructor Details
-
Method Details
-
create
public com.google.api.client.http.javanet.NetHttpTransport create()Description copied from interface:HttpTransportFactoryCreates aHttpTransportinstance.- Specified by:
createin interfaceHttpTransportFactory- Returns:
- The HttpTransport instance.
-