why PDF Reader doesn’t show the embedded OCSP Response?
I haven't even used crlClient:
MakeSignature.signDetached(sap, new BouncyCastleDigest(), es, chain, null, ocspClient, tsClient, 0, MakeSignature.CryptoStandard.CMS);
// chain[0] - signer certificate
// chain[1] - OperCA certificate (signer's issuer)
// chain[2] - RootCA (OperCA's issuer)
PDF revocation tab details shows:
The selected certificate is considered valid because it does not appear in the Certificate Revocation List (CRL) that is contained in the local cache.
The CRL was signed by "B-Trust Operational CA QES <[hidden email]>" on 2014/02/19 07:53:35 +02'00' and is valid until 2014/03/21 07:53:35 +02'00'.
I want to achieve the Figure 3.8 A digital signature with an embedded OCSP response, from Bruno Lowagie's free White Paper document.
What do I do wrong or miss?
Here is the Certification path and sample pdf.
Best Regards, Valentino
LoggerFactory
that writes all actions taken during the signing process. If you had done so and posted the output, we could have seen if (1) the certificate supports OCSP and (2) if the OCSP server was successfully contacted. We also didn't get a PDF to check if there's actually an OCSP response inside the PDF. As for the message shown by Adobe Reader: it clearly says that the CRL is read from the local cache. This means that the CRL isn't stored in the PDF. It was downloaded and cached by Adobe Reader. – Bruno Lowagie