code: public void checkServerTrusted(X509Certificate[] chain, String authType)
                   throws CertificateException {
           try {
               pkixTrustManager.checkServerTrusted(chain, authType);
           } catch (CertificateException excep) {
               /*
                * Possibly pop up a dialog box asking whether to trust the
                * cert chain.
                */
           }
       }
docs: /*
  Delegate to the default trust manager.