io.sureshg.extn / SavingTrustManager / <init>

<init>

SavingTrustManager(tm: X509TrustManager, validate: Boolean = true)

An X509TrustManager to save the server/client cert chains.

Parameters

tm - delegating X509TrustManager

validate - true to validate certificate chains. It's enabled by default.

tm - X509TrustManager