Returns if mutual TLS client certificate should be used. If the value is true, the key store
from#getKeyStore()will be used to configure mutual TLS transport.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eMtlsProvider\u003c/code\u003e class in the Google API Client Library for Java, which is currently in a pre-GA stage and may have limited support.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class is designed to configure mutual TLS (mTLS) in the transport layer using the default client certificate on a device, and it inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class has methods like \u003ccode\u003egetKeyStore()\u003c/code\u003e to retrieve the mTLS key store, \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e to determine the mTLS endpoint usage policy, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e to check if mTLS client certificates are in use.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides a comprehensive list of previous versions of the \u003ccode\u003eMtlsProvider\u003c/code\u003e class, ranging from version 2.63.1 (latest) down to version 2.7.1, each with its respective link to its full documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation warns that this library is in Pre-GA and may change without backward compatibility in between versions.\u003c/p\u003e\n"]]],[],null,[]]