TimeStamp timeStamp = null;
String location = pk.getLocation();
String reason = pk.getReason();
Date date = pk.getSignDate().getTime();
Boolean valid = Boolean.TRUE;
Signatory signatory = this.toSignatory(certificate);
Store store = new JCAStore(KeyStoreType.JKS);
store.add(new CertificateEntry(new Alias(certificate.getSerialNumber().toString()), certificate));
Object[] fails = PdfPKCS7.verifyCertificates(chain, store.toKeyStore(), pk.getCRLs(), pk.getSignDate());
if (ConditionUtils.isNotEmpty(fails)) {