}
}
if (parentCertificate != null) {
if ((oscpUrl != null) && (oscpUrl.trim().length() > 0)) {
OcspClient ocspClient = new OcspClientBouncyCastle(certificate, parentCertificate, oscpUrl);
oscp = ocspClient.getEncoded();
}
}
}
PdfPKCS7 pkcs7 = new PdfPKCS7(privateKey, chain, null, digestType.getAlgorithm(), null, false);