Re: [iText-questions] Pdf signature validation

2010-02-01 Thread mkl
Sérgio, Sérgio Onofre wrote: > My idea is create a application capable to validate signature online with > OCSP, without upload a certificate. I give the example of Adobe because it > can be done there, without upload any certificate. A signing certificate usually is merely the end of a chain o

Re: [iText-questions] Pdf signature validation

2010-02-01 Thread Sérgio Onofre
: quinta-feira, 28 de Janeiro de 2010 11:53 To: Post all your questions about iText here Subject: Re: [iText-questions] Pdf signature validation Hi Sérgi, you have to make destinction between root certificates and OCSP responses. Of course you can get certificates rom somewhere ( usually the signing

Re: [iText-questions] Pdf signature validation

2010-01-28 Thread 1T3XT info
Sérgio Onofre wrote: > Maybe not, is possible to check online the certificates, as Adobe do? You can always create a KeyStore and add root certificates (fetched from a file, fetched online,...). Also: you're talking about Adobe, do you mean that the Company Adobe checks the certificates online,

Re: [iText-questions] Pdf signature validation

2010-01-28 Thread Andreas Kuehne
Thu, January 28, 2010 12:19:14 PM Subject: Re: [iText-questions] Pdf signature validation Maybe not, is possible to check online the certificates, as Adobe do? Onofre -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: quinta-feira, 28 de Janeiro de 2010 09:35 To: Post

Re: [iText-questions] Pdf signature validation

2010-01-28 Thread Sérgio Onofre
Maybe not, is possible to check online the certificates, as Adobe do? Onofre -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: quinta-feira, 28 de Janeiro de 2010 09:35 To: Post all your questions about iText here Subject: Re: [iText-questions] Pdf signature validation

Re: [iText-questions] Pdf signature validation

2010-01-28 Thread 1T3XT info
Sérgio Onofre wrote: > Here is my code: > PdfReader reader = *new* PdfReader(/signedPDF/); > AcroFields af = reader.getAcroFields(); > PdfPKCS7 pk = af.verifySignature(name); > java.security.cert.Certificate[] pkc = > pk.getCertificates(); > KeyStore ks = PdfPKCS7./loadCacertsKeyStore/(); So you'

Re: [iText-questions] Pdf signature validation

2010-01-28 Thread Sérgio Onofre
ubject: Re: [iText-questions] Pdf signature validation It would help if you could post your validation code. _ De : Sérgio Onofre [mailto:ono...@holos.pt] Envoyé : January 27, 2010 12:59 PM À : 'Post all your questions about iText here' Objet : Re: [iText-questions] Pdf signat

Re: [iText-questions] Pdf signature validation

2010-01-27 Thread Mathieu Fortin
It would help if you could post your validation code. De : Sérgio Onofre [mailto:ono...@holos.pt] Envoyé : January 27, 2010 12:59 PM À : 'Post all your questions about iText here' Objet : Re: [iText-questions] Pdf signature validation I can v

Re: [iText-questions] Pdf signature validation

2010-01-27 Thread Sérgio Onofre
_ From: Sérgio Onofre To: itext-questions@lists.sourceforge.net Sent: Tue Jan 26 09:36:42 2010 Subject: [iText-questions] Pdf signature validation Hi, I’m using itext to sign pdf documents with smart cards certificates and it Works fine. The problem I have is

Re: [iText-questions] Pdf signature validation

2010-01-26 Thread Mathieu Fortin
: Sérgio Onofre To: itext-questions@lists.sourceforge.net Sent: Tue Jan 26 09:36:42 2010 Subject: [iText-questions] Pdf signature validation Hi, I’m using itext to sign pdf documents with smart cards certificates and it Works fine. The problem I have is verifying the

[iText-questions] Pdf signature validation

2010-01-26 Thread Sérgio Onofre
Hi, I’m using itext to sign pdf documents with smart cards certificates and it Works fine. The problem I have is verifying the signatures throw the itext in Java. It only works in the computer where is installed the smart-card. I see that Acrobat Reader uses OCSP co

[iText-questions] Pdf signature validation

2010-01-07 Thread Sérgio Onofre
Hi, I’m using itext to sign pdf documents with smart cards certificates and it Works fine. I just don’t understand the difference between signing with WINCER_SIGNED or SELF_SIGNED, because in Acrobat Reader seems the same. What is the difference? The problem I have i

Re: [iText-questions] PDF signature validation problems

2009-10-22 Thread mkl
Áurea, Áurea Alcaide wrote: > > Thanks Paolo, but is not so easy. Some signatures don't cover all the > document, but continue beeing valid ones. > I think iText does not cover all possible cases involving signature > validation... > >>There's a method in AcroFields to check if the signature c

Re: [iText-questions] PDF signature validation problems

2009-10-22 Thread Paulo Soares
t; To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] PDF signature validation problems > > Thanks Paolo, but is not so easy. Some signatures don't cover > all the document, but continue beeing valid ones. > I think iText does not cover all possible cases involving

Re: [iText-questions] PDF signature validation problems

2009-10-22 Thread Áurea Alcaide
in AcroFields to check if the signature covers all the document. If it doesn't you may flag it as invalid. Paulo > -Original Message- > From: ?urea Alcaide [mailto:aalca...@catcert.cat] > Sent: Wednesday, October 21, 2009 5:16 PM > To: itext-questions@lists.sourceforg

Re: [iText-questions] PDF signature validation problems

2009-10-21 Thread Paulo Soares
t; To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] PDF signature validation problems > > Hi all, > > > > I have come to a problem about the validation of PDF > signatures. The extraction of the signed data from the PDF is > not the same with iText than wi