We dont use OCSP because hour architecture for now dosen't support OCSP. Next year we probably have to do that.
For the solutions ... I think I realy dont understand what you mean because if I put the contents value exc.put(PdfName.CONTENTS, new Integer(crlSize.length)+100000); // the crlSize.length is the DER encoided CRL .. The code works and compile ... but the PDF still dont recognize the signature .... same things has the last post :( ! Got the same error in adobe. This is really the last things I need to make work to clause my application :( ! Paulo Soares-3 wrote: > > Get the DER encoded CRL size and add a few more k, use that value for the > CONTENTS. As long as the final PKCS7 signature is smaller than that value > you're ok. It doesn't have to be the same size. By the way, why are you > not using OCSP insted of the bloated CRLs? > > Paulo > >> -----Original Message----- >> From: java-chris [mailto:[email protected]] >> Sent: Wednesday, September 30, 2009 3:43 PM >> To: [email protected] >> Subject: Re: [iText-questions] Embeded CRL not recognize by Adobe >> >> >> Hello Paulo , if the size does not match exactly , the >> signature is not >> working in adobe. >> >> >> byte[] crlSize = null; >> for(CRL c : crls) >> { >> crlSize =((X509CRL)c).getEncoded(); >> >> } >> exc.put(PdfName.CONTENTS, new Integer(crlSize.length * >> dic.length())/2-20000); >> // that's give 118735 and the doc size is approx >> 115586 ... so its >> the size with fiew more k. >> >> Give you the result document in attachement ! >> http://www.nabble.com/file/p25682495/signed.pdf signed.pdf >> >> >> Paulo Soares-3 wrote: >> > >> > The size will always be variable and more so with CRL. Get >> the CRL size >> > and add a few more k. >> > >> > Paulo >> > >> >> -----Original Message----- >> >> From: java-chris [mailto:[email protected]] >> >> Sent: Wednesday, September 30, 2009 3:01 PM >> >> To: [email protected] >> >> Subject: Re: [iText-questions] Embeded CRL not recognize by Adobe >> >> >> >> >> >> >> >> Still got a problems !! >> >> >> >> The size of : exc.put(PdfName.CONTENTS, new Integer(115010)); >> >> varies depend >> >> of the signature and the document contents ... here we got >> >> 115010 .. .but >> >> this number change when the document change ... and sometimes >> >> it not work on >> >> the current documents !!! >> >> >> >> There is many ways that I can found the size of the documents >> >> via calcul or >> >> something ?? >> >> >> >> Cant found the solutions here :( ! >> >> >> >> Thx again, >> >> Chris. > > > Aviso Legal: > > Esta mensagem é destinada exclusivamente ao destinatário. Pode conter > informação confidencial ou legalmente protegida. A incorrecta transmissão > desta mensagem não significa a perca de confidencialidade. Se esta > mensagem for recebida por engano, por favor envie-a de volta para o > remetente e apague-a do seu sistema de imediato. É proibido a qualquer > pessoa que não o destinatário de usar, revelar ou distribuir qualquer > parte desta mensagem. > > > > Disclaimer: > > This message is destined exclusively to the intended receiver. It may > contain confidential or legally protected information. The incorrect > transmission of this message does not mean the loss of its > confidentiality. If this message is received by mistake, please send it > back to the sender and delete it from your system immediately. It is > forbidden to any person who is not the intended receiver to use, > distribute or copy any part of this message. > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > Check the site with examples before you ask questions: > http://www.1t3xt.info/examples/ > You can also search the keywords list: > http://1t3xt.info/tutorials/keywords/ > -- View this message in context: http://www.nabble.com/Embeded-CRL-not-recognize-by-Adobe-tp25650913p25683190.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
