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, which is essential for configuring mutual TLS in the transport layer using the default client certificate.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eMtlsProvider\u003c/code\u003e is 2.63.1, and the page provides links to documentation for a multitude of previous versions, starting from version 2.63.1 down to 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class inherits methods from the \u003ccode\u003ejava.lang.Object\u003c/code\u003e class, and it includes a constructor and three main methods: \u003ccode\u003egetKeyStore()\u003c/code\u003e, \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetKeyStore()\u003c/code\u003e is used to obtain the mutual TLS key store associated with the default client certificate and can potentially throw an IOException, \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e is used to show the current policy, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e to check if one should be used.\u003c/p\u003e\n"]]],[],null,[]]