TSAClient tsc = null;
if (this.parameters.getTimeStampClient() != null) {
tsc = new DelegateITextTSAClient(this.parameters.getTimeStampClient(), digestType);
}
OcspClient ocsp = null;
if (ConditionUtils.isNotEmpty(chain)) {
String ocspUrl = CertificateUtil.getOCSPURL(certificate);
X509Certificate parentCertificate = null;
for (Certificate c : chain) {