Unlocking a PDF/Time efficiency

Discussion in 'Mac Programming' started by Fuzzball27, Jan 4, 2013.

  1. macrumors newbie

    Aug 8, 2011
    I'm decrypting a PDF in my program, and I noticed that "CGPDFDocumentUnlockWithPassword" runs "CGPDFSecurityHandlerAuthenticateOwnerPassword" as well as "CGPDFSecurityHandlerAuthenticateUserPassword." In the program, I do not need to authenticate the owner password. I just need to authenticate the user password, and the owner password authentication process is causing a considerable delay in my program.

    Is there any way I can simply authenticate the user password and only the user password?

Share This Page