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 used to configure mutual TLS in the transport using the default client certificate on a device.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eMtlsProvider\u003c/code\u003e is 2.63.1, and the page provides documentation for various versions of the class, ranging from 2.7.1 up to the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMtlsProvider\u003c/code\u003e allows developers to retrieve the mutual TLS key store using the \u003ccode\u003egetKeyStore()\u003c/code\u003e method, which uses the default client certificate on the device, and may throw an IOException.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e method allows for the retrieval of the current mutual TLS endpoint usage policy, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e checks if the mutual TLS client certificate should be used.\u003c/p\u003e\n"],["\u003cp\u003eThe library that \u003ccode\u003eMtlsProvider\u003c/code\u003e is a part of, is currently in pre-GA and may have limited support, as well as the possibility of having breaking changes.\u003c/p\u003e\n"]]],[],null,[]]