pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isaias Barroso <isaias.barr...@gmail.com>
Subject Re: [PDFBOX-2.0] Signature Issue
Date Thu, 29 Jan 2015 13:38:54 GMT
Hi Andreas,

I got the updated SNAPSHOT (pdfbox-2.0.0-20150129.080600-1013.jar) and used
the sign_me.pdf, keystore.p12 provided on test case. Follow the result
file, now Adobe Reader says that the signature is invalid and when I close
the save message appears.
I've tried using the CreateSignature.class of
pdfbox-examples-2.0.0-20150129.080737-985.jar SNAPSHOT too.

BouncyCastle 1.51 are being used.

Best regards


On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler <andreas@lehmi.de>
wrote:

> Hi,
>
>
> > Isaias Barroso <isaias.barroso@gmail.com> hat am 28. Januar 2015 um
> 12:35
> > geschrieben:
> >
> >
> > Hi all,
> >
> > I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, the
> > file is processed and the size are increased but when I open the file on
> > Adobe Reader the signature information aren't showed. When I close the an
> > information that the document was modified appears, so I'm thinking that
> > process wasn't completed correctly, although none exception are thrown
> >
> > To make the tests, I've used a pdfbox-examples snapshot
> > (org.apache.pdfbox.examples.signature.CreateSignature)
> >
> https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/
> What exact SNAPSHOT version did you use as there were recently some
> changes.
>
> > Do you have any suggestion to investigate the root cause?
> What exactly did you do to sign the pdf? Did you have a look at the
> provided
> testcase [1], which demonstrates all necessary steps to sign a pdf.
>
> > Best regards
> >
> > --
> > Isaías Barroso
> > Belo Horizonte - MG
>
> BR
> Andreas Lehmkühler
>
> [1]
>
> http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdmodel/TestCreateSignature.java?view=markup
>



-- 
Isaías Barroso
Belo Horizonte - MG

Mime
View raw message