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 version 2.55.0 of the Java API, which is used for configuring mutual TLS in the transport layer with the default client certificate.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides links to documentation for various versions of the library, ranging from 2.63.1 (latest) down to 2.7.1, all pertaining to the \u003ccode\u003eMtlsProvider\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMtlsProvider\u003c/code\u003e is a provider class for mutual TLS that inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e and offers methods such as \u003ccode\u003egetKeyStore()\u003c/code\u003e, \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe library containing the MtlsProvider class is currently in Beta, which means it is under the \u003ca href=\"/terms/service-terms#1\"\u003ePre-GA Offerings Terms\u003c/a\u003e of the Terms of Service, and may have changes that aren't compatible with other pre-GA versions.\u003c/p\u003e\n"]]],[],null,[]]