SignerInfo[] infos = signedContent.getSignerInfos();
for (int j = 0; j < infos.length; j++) {
if (infos[j].getTrustAnchor() == null)
// one of the signers is not trusted
unresolved.add(bundles[i]);
SignerInfo tsa = signedContent.getTSASignerInfo(infos[j]);
if (tsa != null && tsa.getTrustAnchor() == null)
// one of the tsa signers is not trusted
unresolved.add(bundles[i]);
}
}
if (unresolved.contains(bundles[i])) {