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 page provides documentation for the \u003ccode\u003eMtlsProvider\u003c/code\u003e class in the Google API Client Library for Java, focusing on versions ranging from 2.7.1 to 2.63.1, with 2.63.1 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class is used to configure mutual TLS (mTLS) in the transport using the default client certificate on the device.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods to retrieve the key store (\u003ccode\u003egetKeyStore()\u003c/code\u003e), the mTLS endpoint usage policy (\u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e), and determine if an mTLS client certificate should be used (\u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThis library is in a Pre-GA state, with potential for limited support and possible breaking changes in future versions.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits members from \u003ccode\u003ejava.lang.Object\u003c/code\u003e like \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, \u003ccode\u003egetClass()\u003c/code\u003e and others, in addition to defining its own methods.\u003c/p\u003e\n"]]],[],null,[]]