简体   繁体   中英

Java API for PDF signing (no iText allowed)

I want to use a Java API that allows me to sign PDF documents. Everybody talks about iText, but it has a line on its license license that, just plain sucks:

In accordance with Section 7(b) of the GNU Affero General Public License, you must retain the producer line in every PDF that is created or manipulated using iText.

Is there an alternative? All I found so far are iText wrappers.

I don't know if any of these have signing, but here is a list of open source offerings.

BTW, all I've ever used is iText.

You didnt tell the whole story about Itext licensing. If you pay, that notice disappears.

Try PDFBox from Apache ..

check this sample https://stackoverflow.com/a/13387484/2267723

or try the old version of iText 2.1.7 (GPL), here is a nice example: click . just to know that the working version of BouncyCastle you would need is bcprov JDK15, 1.46 : download

good luck

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM