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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eMtlsProvider\u003c/code\u003e class, which is used for configuring mutual TLS in transport with the default client certificate on a device.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class offers methods such as \u003ccode\u003egetKeyStore()\u003c/code\u003e, \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e for managing mutual TLS.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.63.1, but multiple older versions ranging from 2.24.0 to 2.62.0 are also documented here, along with even older versions all the way to 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetKeyStore()\u003c/code\u003e method returns a \u003ccode\u003eKeyStore\u003c/code\u003e created with the default client certificate, and may throw an \u003ccode\u003eIOException\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e method returns a boolean value that dictates whether the mutual TLS client certificate should be used, which if set to true, uses the key store from \u003ccode\u003egetKeyStore()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]