[iText-questions] timestamped pdf

2005-12-15 Thread Tamas Nemeth
Hi All! Is it possible to create a timestamped pdf file and not to sign it? So I would like to request a timestamp on an unsigned pdf if, if it is possible.Thanks for Your help in advance!Best regards, Tamas

[iText-questions] Re: Reg: pdf with external signature

2005-11-10 Thread Tamas Nemeth
ot; Out Length : "+out.length); >System.arraycopy(sg, 0, out, 0, sg.length); >dic2.put(PdfName.CONTENTS, new PdfString(sg).setHexWriting(true)); >sap.close(dic2); >log("complete"); > } catch (Exception e) { >log("exception is ..."+e); >

[iText-questions] Re: Reg: pdf with external signature

2005-11-09 Thread Tamas Nemeth
Hi! Yes, I could successfully attach external signature to my pdf file. Have you allocated enough space for your /contets field? Can you send some code snippet, which maybe can help to solve your problem? regards, Tamas 2005/11/9, Sivakumar Balakrishnan <[EMAIL PROTECTED]>: > Hi Tamas, > I s

Re: [iText-questions] Reg: Pdf Signature Clarifications

2005-10-28 Thread Tamas Nemeth
I recommend you to allocate a fix size for the /Contents field, which alway will be enough (for example 10k). 2005/10/28, Shivakumar B <[EMAIL PROTECTED]>: > > thankx for the information, one question, How to calculate the byte space > for the exclusion? > > regards > Sivakumar.B > > > > [EMAIL PR

Re: [iText-questions] Reg: Pdf Signature Clarifications

2005-10-27 Thread Tamas Nemeth
Maybe I have mistaken, but I think you should change the following line: dic2.put(PdfName.CONTENTS, new PdfString(out).setHexWriting(false)); to dic2.put(PdfName.CONTENTS, new PdfString(out).setHexWriting(true)); Of course your 'out' pkcs7 data should be binary data in this case. Adobe expects to

Re: [iText-questions] adobe PPKMS

2005-10-12 Thread Tamas Nemeth
store. The windows store is not imported just trusted. ppklite uses > PKCS#1 and ppkms uses PKCS#7. > > ----- Original Message - > From: "Tamas Nemeth" <[EMAIL PROTECTED]> > To: "Paulo Soares" <[EMAIL PROTECTED]> > Cc: > Sent: Wednesday, O

Re: [iText-questions] adobe PPKMS

2005-10-12 Thread Tamas Nemeth
; -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Tamas Nemeth > > Sent: Wednesday, October 12, 2005 5:10 PM > > To: iText-questions@lists.sourceforge.net > > Subject: [iText-questions] adobe PPKMS > > &

[iText-questions] adobe PPKMS

2005-10-12 Thread Tamas Nemeth
Hi All! I have a signed pdf which was signed with a simple iText application. Signing certificate was a windows trusted certificate (my certificate was issued from a windows trusted root CA (root ca is in the windows certificate store)). Filter type was Adobe.PPKMS. When I open my pdf file, then

[iText-questions] strange signature creation in itext

2005-09-27 Thread Tamas Nemeth
Hi! I'm trying to create command line pdf signer, which creates a signed pdf in 2 part. First an external program calls me to get a hash (my program creates the hash and gives back to the external program), then the external program creates a pkcs7 file onto that hash and gives back to my command

[iText-questions] SigDict /Contents illegal data in signed pdf file

2005-09-22 Thread Tamas Nemeth
Hi, I have created a simple pdf signer application in iText. I wanted to add external pkcs7 signature to a pdf file. First I created a hash from pdf data, then I created a pkcs7 signature or timestamp file with this hash, after that I added the created hash to the pdf file. After that, when I want