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 page lists multiple versions of the \u003ccode\u003eMtlsProvider\u003c/code\u003e class, ranging from version 2.63.1 (latest) down to version 2.7.1, allowing users to access the documentation for different releases.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class, which inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, includes methods like \u003ccode\u003egetKeyStore()\u003c/code\u003e, \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e to manage mTLS configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetKeyStore()\u003c/code\u003e method returns the mTLS key store created with the default client certificate, and can throw an \u003ccode\u003eIOException\u003c/code\u003e, while the \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e gets the current mTLS endpoint usage policy.\u003c/p\u003e\n"],["\u003cp\u003eThe method \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e indicates whether a mTLS client certificate should be used, and if it returns true, the key store obtained from \u003ccode\u003egetKeyStore()\u003c/code\u003e will configure the mTLS transport.\u003c/p\u003e\n"]]],[],null,[]]