pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From npunj...@hjf.org
Subject Re: WELCOME to users@pdfbox.apache.org
Date Thu, 28 Apr 2016 13:33:52 GMT

I wanted to test digital signature using PDFBox. I downloaded 
pdfbox-app-2.0.1.jar 7.9MB on 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!



From:   users-help@pdfbox.apache.org
To:     npunjabi@hjf.org
Date:   04/28/2016 08:54 AM
Subject:        WELCOME to users@pdfbox.apache.org

Hi! This is the ezmlm program. I'm managing the
users@pdfbox.apache.org mailing list.

I'm working for my owner, who can be reached
at users-owner@pdfbox.apache.org.

Acknowledgment: I have added the address


to the users mailing list.

Welcome to users@pdfbox.apache.org!

Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.

--- Administrative commands for the users list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

To subscribe to the list, send a message to:

To remove your address from the list, send a message to:

Send mail to the following for info and FAQ for this list:

Similar addresses exist for the digest list:

To get messages 123 through 145 (a maximum of 100 per request), mail:

To get an index with subject and author for messages 123-456 , mail:

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send a short message to:

The messages should contain one line or word of text to avoid being
treated as sp@m, but I will ignore their content.
Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example "john@host.domain", just add a hyphen and your
address (with '=' instead of '@') after the command word:

To stop subscription for this address, mail:

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
users-owner@pdfbox.apache.org. Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: <npunjabi@hjf.org>
Received: (qmail 64707 invoked by uid 99); 28 Apr 2016 12:54:41 -0000
Received: from pnap-us-west-generic-nat.apache.org (HELO 
spamd1-us-west.apache.org) (
    by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2016 12:54:41 
Received: from localhost (localhost [])
                 by spamd1-us-west.apache.org (ASF Mail Server at 
spamd1-us-west.apache.org) with ESMTP id 275F1C6E41
Thu, 28 Apr 2016 12:54:41 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org
X-Spam-Flag: NO
X-Spam-Score: -0.296
X-Spam-Status: No, score=-0.296 tagged_above=-999 required=6.31
                 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1,
                 RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996] 
Received: from mx2-lw-eu.apache.org ([])
                 by localhost (spamd1-us-west.apache.org []) 
(amavisd-new, port 10024)
                 with ESMTP id MJIfuKrs6nVT
                 Thu, 28 Apr 2016 12:54:39 +0000 (UTC)
Received: from sharp.hjf.org (sharp.hjf.org [])
                 by mx2-lw-eu.apache.org (ASF Mail Server at 
mx2-lw-eu.apache.org) with ESMTPS id 9F2FF5F472
Thu, 28 Apr 2016 12:54:38 +0000 (UTC)
Received: from pps.filterd (sharp.hjf.org [])
                 by sharp.hjf.org ( with SMTP id 
Thu, 28 Apr 2016 08:54:31 -0400
Received: from koch.hjf.org (koch.hjf.org [])
                 by sharp.hjf.org with ESMTP id 22k1y88kp6-1
Thu, 28 Apr 2016 08:54:31 -0400
In-Reply-To: <1461847727.49214.ezmlm@pdfbox.apache.org>
References: <1461847727.49214.ezmlm@pdfbox.apache.org>
MIME-Version: 1.0
Subject: Re: confirm subscribe to users@pdfbox.apache.org
X-KeepSent: 803E75BE:4DF81DCE-85257FA3:0046E31E;
 type=4; name=$KeepSent
X-Mailer: IBM Notes Release 9.0.1FP4 June 08, 2015
From: npunjabi@hjf.org
Date: Thu, 28 Apr 2016 08:54:30 -0400
X-MIMETrack: Serialize by Router on koch/hq/hjf(Release 8.5.3FP6|November 
21, 2013) at
 04/28/2016 08:54:31,
                 Serialize complete at 04/28/2016 08:54:31
Content-Type: multipart/alternative; boundary="=_alternative 
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, 
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 
 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam
 adjust=0 reason=mlx scancount=1 engine=8.0.1-1603290000

View raw message