public void addCertificatesAndCRLs(CertStore certStore) throws CertStoreException, CMSException {
  certs.addAll(CMSUtils.getCertificatesFromStore(certStore));
  crls.addAll(CMSUtils.getCRLsFromStore(certStore));
}

public void addCertificatesAndCRLs ( CertStore certStore ) throws CertStoreException , CMSException { certs . addAll ( CMSUtils . getCertificatesFromStore ( certStore ) ) ; crls . addAll ( CMSUtils . getCRLsFromStore ( certStore ) ) ; }
add the certificates and crls contained in the given certstore to the pool that will be included in the encoded signature block . < p > note : this assumes the certstore will support null in the get methods .
