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, which is used for configuring mutual TLS (mTLS) in the transport with the default client certificate on a device.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eMtlsProvider\u003c/code\u003e available is 2.63.1, and the page lists the documentation for numerous versions ranging down to 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMtlsProvider\u003c/code\u003e inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e and has inherited members such as \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals(Object)\u003c/code\u003e, \u003ccode\u003egetClass()\u003c/code\u003e, and more, as listed in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers methods like \u003ccode\u003egetKeyStore()\u003c/code\u003e, which returns the mTLS key store, \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e that returns the current mTLS endpoint usage policy, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e which indicates if the mTLS client certificate should be used.\u003c/p\u003e\n"]]],[],null,[]]