Add certificate chain

pull/170/head
M66B 5 years ago
parent c1e59c912e
commit 6d25f04b8c

@ -1975,7 +1975,7 @@ public class FragmentCompose extends FragmentBase {
}
// Sign
Store store = new JcaCertStore(Arrays.asList(chain[0]));
Store store = new JcaCertStore(Arrays.asList(chain));
CMSSignedDataGenerator cmsGenerator = new CMSSignedDataGenerator();
cmsGenerator.addCertificates(store);

Loading…
Cancel
Save