}
}
if (parentCertificate != null) {
if ((ocspUrl != null) && (ocspUrl.trim().length() > 0)) {
ocsp = new OcspClientBouncyCastle();
}
}
}
MakeSignature.signDetached(appearance, externalDigest, externalSignature, chain, null, ocsp, tsc, 0, CryptoStandard.CMS);