You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Adeel Arif <ad...@gmail.com> on 2015/12/21 12:12:28 UTC

PDF digital signature

Hi Guys,

Hope you are doing great. After doing some digging and not getting the
desired results i thought that why not contact the developers of the
PDFBOX. I have a situation where there is a PDF which is password
protected. I know the user and owner password and i need to digitally sign
it. I successfully got the hang of signing part for unrestricted file. Now
when i try to add signature to a secure file i get the following exception:

[image: Inline image 1]

I hope that you guys can point me in the right direction. I am using PDFBOX
2.0.0 and i used the code given in the example.

Looking forward to your response.

Thanks,

Best Regards,
Adeel Arif

Re: PDF digital signature

Posted by Tilman Hausherr <TH...@t-online.de>.
Am 21.12.2015 um 12:12 schrieb Adeel Arif:
> Hi Guys,
>
> Hope you are doing great. After doing some digging and not getting the 
> desired results i thought that why not contact the developers of the 
> PDFBOX. I have a situation where there is a PDF which is password 
> protected. I know the user and owner password and i need to digitally 
> sign it. I successfully got the hang of signing part for unrestricted 
> file. Now when i try to add signature to a secure file i get the 
> following exception:
>
> Inline image 1
>
> I hope that you guys can point me in the right direction. I am using 
> PDFBOX 2.0.0 and i used the code given in the example.
>
> Looking forward to your response.
>

Sorry, known problem, it isn't supported yet, see also 
https://issues.apache.org/jira/browse/PDFBOX-2729

Tilman