Package com.google.api.gax.rpc.mtls
Class MtlsProvider
java.lang.Object
com.google.api.gax.rpc.mtls.MtlsProvider
Deprecated.
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 from the Java auth library.
Note: This class is for Google cloud internal use only.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.The policy for mutual TLS endpoint usage. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The mutual TLS key store created with the default client certificate on device.Deprecated.Returns the current mutual TLS endpoint usage policy.booleanDeprecated.Returns if mutual TLS client certificate should be used.
-
Constructor Details
-
MtlsProvider
public MtlsProvider()Deprecated.
-
-
Method Details
-
useMtlsClientCertificate
public boolean useMtlsClientCertificate()Deprecated.Returns if mutual TLS client certificate should be used. If the value is true, the key store fromgetKeyStore()will be used to configure mutual TLS transport. -
getMtlsEndpointUsagePolicy
Deprecated.Returns the current mutual TLS endpoint usage policy. -
getKeyStore
Deprecated.The mutual TLS key store created with the default client certificate on device.- Throws:
IOException
-