Thank you!

I will look into how to parse CER/DER/P12..

Do you know of any places off hand to start my search?

Regards,

Nick K.

-----Original Message-----
From: Harakiri [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 06, 2007 7:57 AM
To: [EMAIL PROTECTED]; Post all your questions about iText here
Subject: Re: [iText-questions] Supported Signature Certificates? PFX, P7B,
P7C, CER Examples?

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 <[EMAIL 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
> [email 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to