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, <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to