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 the \u003ccode\u003eMtlsProvider\u003c/code\u003e documented is 2.63.1, with links provided for various previous versions all the way down to version 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class offers methods to obtain the key store (\u003ccode\u003egetKeyStore()\u003c/code\u003e), check the mutual TLS endpoint usage policy (\u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e), and determine if a client certificate should be used (\u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e is a subclass of \u003ccode\u003ejava.lang.Object\u003c/code\u003e and therefore inherits several methods like \u003ccode\u003e.clone()\u003c/code\u003e, \u003ccode\u003e.equals()\u003c/code\u003e, and \u003ccode\u003e.wait()\u003c/code\u003e amongst others.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class constructor is \u003ccode\u003epublic MtlsProvider()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]