if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } List entries = keyring.get(alias); if (entries.size() == 0) { return null; } for (Iterator it = entries.iterator(); it.hasNext();) { Object o = it.next(); if (o instanceof PrimitiveEntry) { return ((PrimitiveEntry) o).getCreationDate(); } } return null;
log.entering(this.getClass().getName(), "engineGetCreationDate", alias);  ensureLoaded(); Date result = getCreationDate(alias, privateKR); if (result == null) result = getCreationDate(alias, publicKR);  log.exiting(this.getClass().getName(), "engineGetCreationDate", result); return result;
  public Date engineGetCreationDate(String alias)  {    if (!loaded)      {        throw new IllegalStateException ("not loaded");      }    if (keyring == null)      {        return null;      }    List entries = keyring.get(alias);    if (entries.size() == 0)      {        return null;      }    for (Iterator it = entries.iterator(); it.hasNext();)      {        Object o = it.next();        if (o instanceof PrimitiveEntry)          {            return ((PrimitiveEntry) o).getCreationDate();          }      }    return null;  }