try { certs.addAll(certStore.getCertificates(certSelect)); } catch (CertStoreException ex) { ex.printStackTrace(); }
certs.addAll(certStore.getCertificates(certSelect));
    private final Collection findCertificates(        CertSelector    certSelect,        List            certStores)    {        Set certs = new HashSet();        Iterator iter = certStores.iterator();        while (iter.hasNext())        {            CertStore   certStore = (CertStore)iter.next();            try            {                certs.addAll(certStore.getCertificates(certSelect));            }            catch (CertStoreException ex)            {                ex.printStackTrace();            }        }        return certs;    }