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 details the \u003ccode\u003eMtlsProvider\u003c/code\u003e class in the Google API Client Library for Java, specifically version 2.48.1, which is a provider for mutual TLS (mTLS) configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class allows for configuring mTLS in the transport using the default client certificate on the device.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers methods like \u003ccode\u003egetKeyStore()\u003c/code\u003e to access the mTLS key store, \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e to check the mTLS endpoint usage policy, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e to verify if an mTLS client certificate should be used.\u003c/p\u003e\n"],["\u003cp\u003eThe library that this class is a part of is currently in a Pre-GA state, so there might be limited support and changes to other versions might not be compatible.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version of this class is 2.63.1, and there is a list of previous versions that you can view to see changes that have been made.\u003c/p\u003e\n"]]],[],null,[]]