Unlocking a PDF/Time efficiency


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?