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 used to configure mutual TLS (mTLS) in the transport layer.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class allows the configuration of mTLS using the default client certificate on the device, ensuring secure communication.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers various versions of the library, with version 2.63.1 being the latest release and the listing descending down to version 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers methods to retrieve the mTLS key store (\u003ccode\u003egetKeyStore()\u003c/code\u003e), check the mTLS endpoint usage policy (\u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e), and determine whether to use the mTLS client certificate (\u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eIt is noted that this is a Pre-GA library, which means it may have limited support and future versions may not be compatible.\u003c/p\u003e\n"]]],[],null,[]]