I am trying to attach the certificate in the digitally signed pdf document with PDFBOX in JAVA.
I didn’t get any error during the whole process of attaching the certificate and signature. I am using a certificate and signature the Certificate Authority (CA) provided.
Then, when I try to open that PDF in Acrobat Adobe, it gives an error that says the certificate is invalid and the certificate details are not present in the signature panel.
I tried to check if the signature field is present or not with this line of code and I can say the signature field is present in pdf file.
What could be the cause of the not showing the certificate details?
The signature details pop should be visible the certificate should be valid, and it should say that the file is certified by XXXX.
4