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\u003eThe webpage provides documentation for the \u003ccode\u003eMtlsProvider\u003c/code\u003e class in the Google API Client Library for Java, focusing on mutual TLS (mTLS) configuration.\u003c/p\u003e\n"],["\u003cp\u003eIt lists available versions of the \u003ccode\u003eMtlsProvider\u003c/code\u003e class, ranging from the latest version 2.63.1 down to version 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class facilitates configuring mutual TLS in the transport layer using the default client certificate on the device.\u003c/p\u003e\n"],["\u003cp\u003eKey methods of the \u003ccode\u003eMtlsProvider\u003c/code\u003e class include \u003ccode\u003egetKeyStore()\u003c/code\u003e, \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e, which are used to retrieve the key store, the mTLS endpoint usage policy, and whether a client certificate should be used respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation highlights that \u003ccode\u003eMtlsProvider\u003c/code\u003e inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, with an extensive list of inherited methods.\u003c/p\u003e\n"]]],[],null,[]]