/** * Implementation of certificate handler for EventHandler. Called every time a resource is loaded * via a secure connection. In this context, can be called multiple times if we have redirects * * @param certificate The SSL certifcate */ public void certificate(SslCertificate certificate) { // if this is the top-most main-frame page loader if (mIsMainPageLoader) { // update the browser frame (ie, the main frame) mBrowserFrame.certificate(certificate); } }