Am 28.04.2016 um 18:28 schrieb [email protected]:
Sorry, the image didn't show up on the email. but its kind of same as seen
in the following link

https://issues.apache.org/jira/secure/attachment/12736070/acrosigned_signed.pdf

Indeed, we can't do something like that yet.

https://issues.apache.org/jira/browse/PDFBOX-3198

Nevertheless, the signatures we do are still real signatures, they're just not as nice. (Btw there are invisible signatures too).

Tilman


Thanks!



From:   [email protected]
To:     [email protected]
Date:   04/28/2016 12:24 PM
Subject:        Re: WELCOME to [email protected]



Thanks Tilman!

I am new to Digital signature area; so following is the Text Signature?



We wanted to test if above signature can be applied using PDFBox.

Thanks for your help!!

Naresh



From:        Tilman Hausherr <[email protected]>
To:        [email protected]
Date:        04/28/2016 12:07 PM
Subject:        Re: WELCOME to [email protected]



Am 28.04.2016 um 17:57 schrieb [email protected]:
Hi Tilman,

Thank you so much for your reply. my test code was from PDFBox 2.0.0;
which I replaced with PDFBox 2.0.1; now I am not getting "Invalid
Signature" message anymore. I do see the stamp "Original" in my signed
PDF, the signature is on that stamp.jpg; I wanted to see the actual
digital signature, trying to figure out how to remove the stamp and
display the actual "Digital Signature". I am kind of new to Netbeans
and java as such.
Is this a question?

Or maybe a misunderstanding - we don't support text signatures yet, that
you may have seen elsewhere. The stamp is the visual part of the
signature. In Adobe Reader, click on it and you will see more details.

There is a proposal for a text signature in a JIRA issue but it is
incomplete.

Tilman


Regards

Naresh



From: Tilman Hausherr <[email protected]>
To: [email protected]
Date: 04/28/2016 11:43 AM
Subject: Re: WELCOME to [email protected]
------------------------------------------------------------------------



Hi,

There must be some problem, because this is the top of
CMSProcessableInputStream:

class CMSProcessableInputStream implements CMSTypedData

that file is in
PDFBox

reactor\examples\src\main\java\org\apache\pdfbox\examples\signature\CMSProcessableInputStream.java
Did you include that file in your project?

Tilman (Netbeans user too)



Am 28.04.2016 um 15:33 schrieb [email protected]_
<mailto:[email protected]>:
Hello!

I wanted to test digital signature using PDFBox. I downloaded
_pdfbox-app-2.0.1.jar_
<http://apache.mesi.com.ar/pdfbox/2.0.1/pdfbox-app-2.0.1.jar> 7.9MBon
my local computer. In Netbeans 8.1, I created new project and from
main class I am calling
TestCreateSignature.testCreateVisibleSignature(). I generated new pfx
key using Adobe reader DC and used that for my test. New (output) PDF
is getting generated but when I open the PDF it says that the
signature is invalid. How can I get this to work? At this time, I am
using PDFBox just for testing to see if we can use it for real life. I
am attaching my input and output pdfs. One more thing, I had to change
following code from CreateSignatureBase.java, as was not getting
compiled in Netbeans.

Original Code:



Modified Code:



Any help would be greatly appreciated!

Thanks

Naresh








---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to