Asn.1 Parsing Error Error Encountered While Ber Decoding
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the error during signature verification workings and policies of this site About Us Learn more about
Error Encountered While Signing
Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions adobe reader 11 Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up
Mca
Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top “Error encountered while BER decoding” in Adobe Acrobat Pro X when applying timestamp up vote 1 down vote favorite I have a tedious problem with Acrobat Pro X 10.1.3.23: when I want to apply a timestamp to a document I always get that error. I have configured VeriSign TSA server http://timestamp.verisign.com/scripts/timstamp.dll and it returns that error. I have tried Comodo CA http://timestamp.comodoca.com/authenticode and Aruba https://servizi.arubapec.it/tsa/ngrequest.php but all three returned the same exact error. My PDFs are now signed without a certified timestamp and this is a problem for me. I'm obliged to sign documents and apply a certified timestamp at the same time. This seems to be a common error in Acrobat, but I found no solution to it. Can somebody help me? [Update] Thanks to Wireshark I found this Request POST /scripts/timstamp.dll HTTP/1.1 Accept: */* Content-Type: application/timestamp-query Content-Length: 53 Character-Encoding: binary User-Agent: PPKHandler Host: timestamp.verisign.com Connection: Keep-Alive Cache-Control: no-cache 03...0!0...+.............031.z&...y.z......+[.JeG.... Response HTTP/1.1 200 OK Server: Netscape-Enterprise/4.1 Date: Fri, 13 Jul 2012 16:01:42 GMT Content-type: application/timestamp-query Content-length: 39 error handling request, status = 0x9300 I don't know if the request is well-formed adobe-acrobat timestamp digital-signature share|improve this question edited Jul 13 '12 at 16:15 asked Jun 29 '12 at 20:10 usr-local-ΕΨΗΕΛΩΝ 1,862113469 add a comment| 1 Answer 1 active oldest votes up vote -1
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, http://superuser.com/questions/443164/error-encountered-while-ber-decoding-in-adobe-acrobat-pro-x-when-applying-time helping each other. Join them; it only takes a minute: Sign up Getting digital signature Error “Error Encountered while BER decoding” using TCPDF up vote 0 down vote favorite i use TCPDF to create digital signature on a PDF document. i use almost the exact code mentioned here: http://www.tcpdf.org/examples/example_052.phps and i use the same crt file that http://stackoverflow.com/questions/29283664/getting-digital-signature-error-error-encountered-while-ber-decoding-using-tcp i use for the SSL on my server , when browsing to on my server (linux). but no matter if the file exists or not, no matter which path it is or which server, i always get the same error i get the error: "Error Encountered while BER decoding" my server is Centos 6.3(64bit), Apache/2.2.15 (CentOS) , PHP Version 5.3.3, MySQLi 5.1.67 my code is: $pdf = new TCPDF(); // set document information $pdf->SetCreator('DejaVuSansCondensed'); $pdf->SetAuthor('Soft1'); $pdf->SetTitle('Soft1 Verified'); $pdf->SetSubject('Soft1 Verified'); $pdf->SetKeywords('TCPDF, PDF, example, test, guide'); // set font $pdf->SetFont('DejaVuSansCondensed', '', 10); // set certificate file $certificatePath = 'file://home/tcpdf.crt'; // set additional information $info = array ( 'Name' => 'Soft1', 'Location' => 'Server', 'Reason' => 'Signing Document', 'ContactInfo' => 'http://www.soft1.com', ); // set document signature $pdf->setSignature($certificatePath, $certificatePath, 'tcpdfdemo', '', 2, $info); // add a page $pdf->AddPage(); // set LTR direction for english translation $pdf->setRTL(true); // output the HTML content $pdf->writeHTML($printable, true, 0, true, 0); // create content for signature (image and/or text) $pdf->Image('themes/default/images/digital_signature.png', 25, 11, 15, 15, 'PNG'); $pdf->setSignatureAppearance(25, 11, 1
view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Signing PDF using Smart Card Hi,i followed the example in iText book and i read most of the emails http://itext.2136553.n4.nabble.com/Signing-PDF-using-Smart-Card-td4656595.html in the mailing list which are related to signing PDF file using smart card but still i am facing a problemi am usingsetExternalDigest methodalways the acrobat reader give me the below errorError during signature verification. Error encountered while validating: Error encountered while BER decoding:Kindly find the attached PDF and the source codeYour help is highly appreciatedRegards, ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New error encountered Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev_______________________________________________ iText-questions mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/itext-questionsiText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to error encountered while the iText book: http://www.itextpdf.com/book/Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php signed.pdf (120K) Download Attachment Signing.java (3K) Download Attachment Andreas Kuehne-3 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Signing PDF using Smart Card Hi yazeed, 'thumb up' for providing a problem PDF with your request! I can't explain the problem with the code you provided but the included certificates in the PDF look very strange ... no wonder why the reader complains about broken encoding! Greetings, Andreas Hi, i followed the example in iText book and i read most of the emails in the mailing list which are related to signing PDF file using smart card but still i am facing a problem i am using setExternalDigest method always the acrobat reader give me the below error Error during signature verification. Error encountered while validating: Error encountered while BER decoding: Kindly find the attached PDF and the source code Your help is highly appreciated Regards, ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby