@Override protected TrustManager[] createTrustManagers() throws GeneralSecurityException { TrustManager[] tm = null; if (trustCerts != null && trustCerts.length > 0) { final TrustManagerFactory tmf = getTrustManagerFactory(trustCerts); tm = tmf.getTrustManagers(); } return tm; }
@Override protected TrustManager[] createTrustManagers() throws GeneralSecurityException { TrustManager[] tm = null; if (trustCerts != null && trustCerts.length > 0) { final TrustManagerFactory tmf = getTrustManagerFactory(trustCerts); tm = tmf.getTrustManagers(); } return tm; }