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 in Java applications.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eMtlsProvider\u003c/code\u003e is 2.63.1, but the current page focuses on version 2.61.0, with links to previous versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class, inheriting from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, allows access to a keystore containing the default client certificate on the device via the \u003ccode\u003egetKeyStore()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe class methods include \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e to know the current mutual TLS endpoint policy, and \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e to check whether a client certificate is in use.\u003c/p\u003e\n"],["\u003cp\u003eThis library is currently in a pre-GA stage and, as a result, it may have limited support and changes might not be compatible with other pre-GA versions.\u003c/p\u003e\n"]]],[],null,[]]