• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

pdf certificates-how to do?

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all.
I am using apache fop on a linux server, using the command line to convert my xml to pdf using my xsl file which I wrote using an xml editor. Can anyone point me in the direction of where to start if I want to add a security certificate to my pdf so that anyone reading knows it is from a trusted source? Will I have to use a java program to transform and create the pdf rather that the fop command line in order to do this? Also, I'm interested in embedding a bardcode in the pdf too. If anyone has suggestions or links or how to do this using my current method or if I have to approach it a different way then I'd be glad to hear from you.

Thanks,
Colm
 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I doubt that FOP has any capabilities like that. I'm fairly certain iText can do it; iText also has some barcode-creation facilities specifically geared towards embedding barcodes in PDFs.

Note that here are two versions of iText: 2 (licensed under the LGPL) and 5 (licensed under the Affero GPL). The latter version generally requires you to obtain a license in any business setting. See https://coderanch.com/how-to/java/ItextExample for some more information on both versions.
 
Colm Dickson
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Tim,

I'll have a look.

Regards,

Colm
 
Tick check! Okay, I guess that was just an itch. Oh wait! Just a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic