• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: encrypting a pdf
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: encrypting a pdf


  • Subject: Re: encrypting a pdf
  • From: Jim Mooney <email@hidden>
  • Date: Sat, 21 Oct 2006 13:01:22 -0400

Actually there is a built in scheme that I believe works in Quartz which I looked at through someone's post. Quartz allows you to create a CGPDFContent and during the creation, will encrypt it into one that Acrobat accepts, MD5 or some other one. All you need to do is give it a password and the encryption takes place. At least that is how I read it today.....Give me a couple of hours to test it. Seems like it is straight forward.

this is something that takes place in the app, not some other outside mechinism and the hopeful result will not require providing my own encryption method, but one that Adobe already supports.

TBC



On Friday, October 20, 2006, at 02:21 PM, Jordan Evans wrote:

If you don't mind developing it, it isn't that hard.  I did it, but I
haven't created an interface for it.

Encrypt:

1. Copy your first PDF into an NSMutableData object.
2. Encrypt it.
3. Write it out to the single file that will be a combination of all PDF's.
4. Write location and size of PDF, as well as encryption info to file.


5. Repeat for all PDF's.

Decrypt:

1. Using your key, find the location, size and encryption info.
2. Decrypt.

3.  Repeat for each PDF file.

As long as you have your encryption thought through, developing this
really doesn't take long to do.

I wouldn't rely on others encryption.  If you can't understand it, how
do you know for sure it really is doing what it's saying?  That's why
I created my own.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >RE: encrypting a pdf (From: "Jordan Evans" <email@hidden>)

  • Prev by Date: NIB Files + Views. Is it a good practice?
  • Next by Date: Re: Tab stop with fill characters
  • Previous by thread: Re: encrypting a pdf
  • Next by thread: unwanted cell copy being interposed during click in outline
  • Index(es):
    • Date
    • Thread