combine static method
One store holding every anchor of stores.
Implementation
static PdfTrustStore combine(Iterable<PdfTrustStore> stores) {
final combined = PdfTrustStore();
for (final store in stores) {
for (final anchor in store.anchors) {
combined.addCertificate(anchor, source: store.sourceOf(anchor));
}
}
return combined;
}