New Forum | Previous | Next | (P-PDF) Developers
Topic: Re: supplying password w/o using dialog (Via Email)
Conf: (P-PDF) Developers, Msg: 72027
Date: 9/9/2002 11:37 PM
I'm curious to know....
"You need to call
your PDCryptNewAuthDataProc from within your implementation of the
PDCryptGetAuthDataProc, simply fill it in programmatically and pass the
data structure back to Acrobat."
Why is PDCryptNewAuthDataProc a callback if you need to call it manually?
Thanks again for you help!
Jillana Thibodeau, B.A.Sc., B.COSC
Programmer, Pen Systems Inc. '97
----- Original Message -----
From: "p-pdf-developer Listmanager"
Sent: Friday, September 06, 2002 8:02 PM
Subject: Re: supplying password w/o using dialog
> From: Mark Gavin
> --------- Planet PDF Forum | http://forum.planetpdf.com ----------
> On Friday, September 6, 2002, at 09:56 AM, p-pdf-developer Listmanager
> > From: "Jillana Thibodeau"
> > Thank you very much...it sounds as though it would make sense but I
> > noticed
> > that my PDCryptNewAuthDataProc method isn't getting called (I put a
> > popup
> > message at the beginning of the function). How does the procedure get
> > invoked?
> Acrobat will invoke the procedure, on document open, when it recognizes
> the document has been encrypted using your security handler.
> > And when it does set aside the memory for the structure, can I
> > simply fill in the structure programmatically in
> > PDCryptGetAuthDataProc and
> > authorization will continue? I don't want to call AVCryptGetPassword.
> You are the one who needs to set aside memory for the structure within
> your implementation of the PDCryptNewAuthDataProc. You need to call
> your PDCryptNewAuthDataProc from within your implementation of the
> PDCryptGetAuthDataProc, simply fill it in programmatically and pass the
> data structure back to Acrobat.
> Mark Gavin
> Chief Technology Officer
> Appligent, Inc.
> 60 South Lansdowne Avenue
> Lansdowne, PA 19050
> (610) 284-4006
> -------------- PDF Store's Top 10 List for August ----------------
> ARTS Split & Merge Wizard - Crackerjack - ARTS PDF Stamper
> PDFlib- Appligent StampPDF - Gemini- ARTS PDF Workshop
> DocuCom PDF Driver - TallPDF Server - Quite Imposing Plus
> Find out why these were the best-selling products last
> month. Free demos of most at the PDF Store!
> ---------- Brought to you by http://www.PlanetPDF.com ------------