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 with a default client certificate.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class is currently in a pre-GA (General Availability) stage, meaning it may have limited support and potential compatibility issues between pre-GA versions, as described in the Pre-GA Offerings Terms.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the \u003ccode\u003eMtlsProvider\u003c/code\u003e, ranging from the latest version 2.63.1 down to version 2.7.1, with each version linking to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details the class's constructor (\u003ccode\u003eMtlsProvider()\u003c/code\u003e) and methods, including \u003ccode\u003egetKeyStore()\u003c/code\u003e, \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e, explaining their purpose, return types, and any exceptions they might throw.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class inherits the standard methods from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, such as \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals(Object)\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, and others, as listed in the documentation.\u003c/p\u003e\n"]]],[],null,[]]