CertificateCombinedException result = new CertificateCombinedException(certificates[0]); try { certificates[0].checkValidity(); } catch (CertificateExpiredException c) { result.setCertificateExpiredException(c); result.setCertificateNotYetException(c); result.setCertPathValidatorException((CertPathValidatorException)cause); } else { result.setOtherCertificateException(c); if (result.isException()) throw result;
throw e; failInHandshake.setHostInUrl(host); if (failInHandshake != null) { X509Certificate serverCert = failInHandshake.getServerCertificate(); try { mHostnameVerifier.verify(host, serverCert); ); if (failInHandshake == null) { failInHandshake = new CertificateCombinedException( (X509Certificate) newSession.getPeerCertificates()[0] ); failInHandshake.setHostInUrl(host); failInHandshake.setSslPeerUnverifiedException(pue); pue.initCause(failInHandshake); throw pue;
if (se != null) { mException = se; if (se.isRecoverable()) { mCode = ResultCode.SSL_RECOVERABLE_PEER_UNVERIFIED;
if (se != null) { mException = se; if (se.isRecoverable()) { mCode = ResultCode.SSL_RECOVERABLE_PEER_UNVERIFIED;
CertificateCombinedException result = new CertificateCombinedException(certificates[0]); try { certificates[0].checkValidity(); } catch (CertificateExpiredException c) { result.setCertificateExpiredException(c); result.setCertificateNotYetException(c); result.setCertPathValidatorException((CertPathValidatorException)cause); } else { result.setOtherCertificateException(c); if (result.isException()) throw result;
if (((CertificateCombinedException) mException).isRecoverable()) return "SSL recoverable exception"; else
if (((CertificateCombinedException) mException).isRecoverable()) return "SSL recoverable exception"; else