public static void reset() {
   rootStore = RootCertStore.getCertStore();
   sslRootStore = SSLRootCertStore.getCertStore();
   permanentStore = DeploySSLCertStore.getCertStore();
   sessionStore = new SessionCertStore("x509Extended7");
   deniedStore = new DeniedCertStore();
   alwaysShow = Config.getBooleanProperty("deployment.security.https.warning.show");
   mismatchShow = Config.getBooleanProperty("deployment.security.jsse.hostmismatch.warning");
   if (Config.getBooleanProperty("deployment.security.browser.keystore.use")) {
     Service localService = ServiceManager.getService();
     browserSSLRootStore = localService.getBrowserSSLRootCertStore();
     isBrowserSSLRootStoreLoaded = false;
   }
 }
 public static void reset() {
   Service localService = ServiceManager.getService();
   handler = localService.getOfflineHandler();
   if (handler == null) handler = new NeverOfflineHandler();
 }