[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 777
  • Last Modified:

Store in paper a electronic signature

I have a PDF file with electronic signature, how could I print this PDF electronically signed in a paper, and has a evidence in the paper printed that the document are signed electronically and will check it. (I think adding  some kind of 2d/3d barcorde)

I see something about pdf417 but i'm not sure that is for this case
  • 2
1 Solution
btanExec ConsultantCommented:
In PDF format, understand that digital signature will consist of the following components, and each can be separately customized:
-Signature: A graphic that identifies the signer on the left-hand side of the appearance, such as a photo or scanned signatures. Transparent backgrounds allow a watermark to be visible in the underlying layer.
-Signature details: Signature data that the signer wants to appear to the right of the signature.
-Watermark or logo: An image that appears behind the signature. The default is the PDF logo.

@ http://learn.adobe.com/wiki/download/attachments/52658564/samplesignatures.pdf?version=1

That can be straightforward but lacking the security aspects of true signing. Cryptographic signature for non-repudiation and identify true signatory. Specifically will recommend that you check out this PDF document - focusing on pg 9 - Summary of Adobe security capabilities.

@ http://www.adobe.com/security/pdfs/acrobat_livecycle_security_wp.pdf

Adobe® LiveCycle® Digital Signatures ES2 would be an ideal solution but for user, Adobe Acrobat software can also create Adobe PDF documents, and apply
encryption, permissions, and digital signatures to Adobe PDF files. I see the online PDF useful to have quick kickstart to what you need to create a digital signature first - looks for "Adding digital signatures to PDFs" and "Validating digital signatures"

@ http://help.adobe.com/en_US/Reader/8.0/help.html

For barcode, it can be as an default image but if you are saying to input as dynamic signature image which changes each time for uniqueness of the PDF. PDF417 is a 2D Barcode not a Adobe PDF related digital signature , do not get it wrong :)
@ http://www.easesoft.net/PDF417.html

But if needed the dynamic type of barcode, it will probably need more effort and other 3rd party tools and maybe it needed form based type of PDF.
See the example of the 2D barcode PHP code that can generate the barcode, it is not digital signature though
@ http://www.tcpdf.org/examples.php

But I am thinking the below two related script may be useful - create signature and use the raw byte as barcode string to be printed. Not a PHP expertise
@ http://www.tcpdf.org/examples/example_050.phps
@ http://www.tcpdf.org/examples/example_052.phps

just some thoughts
lnriveraAuthor Commented:
Thanks for the information, the main question, is if I can print in the paper some hash code (For example in base64 or integrated in a codebar) to regenerate the electronic file with the signature (I think that PD417 could be use for this purpose)

Any suggestion?
btanExec ConsultantCommented:
From above link it should be able to have the digital signature use as raw bytes (convert into hexdecimal char) and also able to include barcode font such as PDF417 embedded in PDF. The PDF417 font kit need to be available so that PDF can include it as one of the possible font. One possible kit @ http://www.dlsoft.com/font_products/PDF417_Font_kit.htm

I may have understood differently as thinking having the digital signature as PDF417. Thanks for clarifying, I got it now.

Actually for that PDF (with signature), if you open using notepad or editor, you will see the characters which include some non-printable chars. Then send this whole lot of chars into encoder to chunk out string to generate some image to be printed or serves as watermark. The size of the encoded strings can be base64 and it can get quite huge number of chars. May even want to ZIP PDF (with signature) first then send for encoding. Else ZIP the encoded string. The motive is to have loss less compression - maybe a PNG or GIF

@ http://en.wikipedia.org/wiki/Lossless_data_compression

2D barcode is possible for generating bigger size of input compared to 1D barcode. But there are limit as well.
See the table for each size limit - 2D bar code include PDF417, Aztec Code and Data Matrix

@ http://www.taltech.com/resources/intro_to_bc/bcbascs.htm

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now