if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();)
log.entering(this.getClass().getName(), "getCertificate", alias);  Certificate result = null; if (containsAlias(alias)) for (Iterator it = get(alias).iterator(); it.hasNext();)
  public Certificate getCertificate(String alias)  {    if (!containsAlias(alias))      {        return null;      }    List l = get(alias);    for (Iterator it = l.iterator(); it.hasNext();)      {        Entry e = (Entry) it.next();        if (e instanceof CertificateEntry)          {            return ((CertificateEntry) e).getCertificate();          }      }    return null;  }