  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | -none- | -none- 2007-09-06 - By Harakiri
Back I think you are quiet confused about signing and certificate types.
P12 and PFX are just containers for private+public keys.
CER, DER and so on are also just encoded certificates - mostly only used for public keys however - but you can also encode private keys of course.
It boils down that every container/encoding you specified is always an X.509 certificate - just in different forms.
It is up to you to create a construct to parse CER/DER/P12 whatever to sign your pdf - itext has nothing to do with it.
You could use bouncycastle for example to parse these encoded certificates an get a generic PrivateKey or PublicKey java object, which can be used for signing.
--- Nick Kowalewicz <nickk@(protected)> wrote:
> Supported Signature Certificates.. > > What are supported signature certificate types for > signing a PDF using > iText? > > ?.FDF {Acrobat FDF Data Exchange} > ?.P7C {Certificate Message Syntax PKCS#7} > ?.P7B {Cryptographic Message Syntax Standard} > ?.CER {DER Encoded Binary X.509} > ?.CER {Base 64 Encoded X.509} > ?.P12 {Personal Information Exchange PKCS#12} > ?.PFX {Personal Information Exchange PKCS#12} > > I have successfully signed a PDF with a .PFX > certificate, but, could you > give a simple example of how to sign a PDF with > other types of certificates > files using iText? {Ex: P7B, P7C, and CER} > > > > Thank you in advance! > > > Regards, > > > Nick K. > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? > Stop. > Now Search log events and configuration files using > AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > iText-questions mailing list > iText-questions@(protected) > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: > http://itext.ugent.be/itext-in-action/ >
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ _____ __ ____ ___ Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|
 |