log.finest("certificate = " + certificate);
if (Configuration.DEBUG) log.fine("certificate = " + certificate);
  private void importNewTrustedCertificate() throws CertificateException,      KeyStoreException, NoSuchAlgorithmException, IOException,      UnsupportedCallbackException, CertPathValidatorException,      UnrecoverableKeyException  {    log.entering(this.getClass().getName(), "importNewTrustedCertificate"); //$NON-NLS-1$    Certificate certificate = x509Factory.generateCertificate(inStream);    log.finest("certificate = " + certificate); //$NON-NLS-1$    LinkedList orderedReply = new LinkedList();    orderedReply.addLast(certificate);    if (findTrustAndUpdate(orderedReply, ! noPrompt))      {        store.setCertificateEntry(alias, certificate);        System.out.println(Messages.getString("ImportCmd.29")); //$NON-NLS-1$        saveKeyStore();      }    else      System.out.println(Messages.getString("ImportCmd.28")); //$NON-NLS-1$    log.exiting(this.getClass().getName(), "importNewTrustedCertificate"); //$NON-NLS-1$  }