pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: PDFBox Digital Signature related query
Date Wed, 03 Oct 2018 08:51:48 GMT
There isn't more to write than what was written in the comments of your 
stackoverflow question. The rest is about spongycastle.

If you can't get it to work by passing a hash and sign that one, then 
make a first version that passes the whole stream to test whether your 
code works.

Tilman

Am 03.10.2018 um 10:27 schrieb Dileep Pt:
> Any update on this Team.
>
> On Tue 2 Oct, 2018, 5:03 PM Dileep Pt, <dileep.0804@gmail.com> wrote:
>
>> Hi Team,
>>
>> Is it possible to sign PDF hash using PDFBox in Android.
>>
>> My requirement is,
>> * I have 2 Android Apps AppA and AppB.Both have PDFBox libraries. AppA has
>> certificate and Pvtkey and AppB created the PDFContent.
>> * Now AppB want to sign the generated pdf, but it doest have the Cert and
>> PvtKey.
>> * So I am assuming ,  I will send the PDF hash using Digest to AppA (using
>> Intent), which use PDFBox to create a CMSSigned data and return to AppB.
>> * AppB will add the generated signtaure to PDF.
>>
>> Awaiting your reply.
>>
>> Regards,
>> Dileep
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message