Public key encryption and Certificate DigSign

Issues related to PDFLeo (PDF linearization, encryption and optimization) utility.

Public key encryption and Certificate DigSign

Postby naarea on Wed Apr 18, 2012 1:50 pm

guys

How to sign a document with my private key (in order to ensure that the document is intact) and then encrypt the document using the public key of the receiver (in order that only the recipient can open the document).
naarea
 
Posts: 1
Joined: Wed Apr 18, 2012 1:47 pm

Re: Public key encryption and Certificate DigSign

Postby glitch on Wed Apr 18, 2012 2:07 pm

PDFLeo 1 does not support PDF signing. However you can encrypt PDF using public key security. Public security requires the public key of recipient only.

http://mdn.morovia.com/manuals/pdfleo-1 ... php#N10580

Code: Select all
pdfleo --encrypt=discard;AES-128 \
      --pubkey-recipient=thomas_tang.cer;joe_smith.cer;modify=none;print=low;extract=yes


The resulted PDF is now encrypted with AES-128, and only the person who possess private key that corresponds to thomas_tang.cer can open the PDF file.
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
glitch
Support Engineer
 
Posts: 198
Joined: Wed May 14, 2008 2:42 pm


Return to PDFLeo 1.x

Who is online

Users browsing this forum: No registered users and 1 guest