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 latest version available for \u003ccode\u003eMtlsProvider\u003c/code\u003e is 2.63.1, but many other versions are documented, ranging from 2.2.0 all the way up to the latest version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMtlsProvider\u003c/code\u003e is a class that allows for mutual TLS configuration in the transport using the default client certificate.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetKeyStore()\u003c/code\u003e method returns the key store with the default client certificate, and it can throw an \u003ccode\u003eIOException\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e method retrieves the current policy for mutual TLS endpoint usage, found in the \u003ccode\u003eMtlsProvider.MtlsEndpointUsagePolicy\u003c/code\u003e documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e method indicates if the mutual TLS client certificate should be used, and if true, will use the key store returned by the \u003ccode\u003egetKeyStore()\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,[]]