if (Configuration.DEBUG)
  private void importCertificate(Certificate certificate)      throws NoSuchAlgorithmException, CertPathValidatorException,      KeyStoreException, UnrecoverableKeyException, IOException,      UnsupportedCallbackException, CertificateException  {    log.entering(this.getClass().getName(), "importCertificate", certificate); //$NON-NLS-1$    LinkedList reply = new LinkedList();    reply.addLast(certificate);    if (! findTrustAndUpdate(reply, false))      throw new CertPathValidatorException(Messages.getString("ImportCmd.34")); //$NON-NLS-1$    Certificate[] newChain = (Certificate[]) reply.toArray(new Certificate[0]);    Key privateKey = getAliasPrivateKey();    store.setKeyEntry(alias, privateKey, keyPasswordChars, newChain);    saveKeyStore();    log.exiting(this.getClass().getName(), "importCertificate"); //$NON-NLS-1$  }