Previous | Next | (P-PDF) Developers
Topic: Re: Digital Signature on PDF from ASP(VB)
Conf: (P-PDF) Developers, Msg: 68267
From: JonathanA
Date: 7/9/2002 01:02 AM
Hi
It was enlightening to learn of the JSObject.
I have done some experimenting and I am almost there.
I can use VB to place the correct code to create a field and then create the digital signature. But I can not get VB to execute it. ( If I manually execute the code - ie I highlight it and then press the enter key on the numeric key pad - then GREAT IT WORKS ) However that is not what I want.
Hope somebody can help
JAA
PS - if it is helpful to anyone else, here is my VB digital signature code
JSO.console.Clear
JSO.console.println ("var ppklite = security.getHandler(""Adobe.PPKLite"");ppklite.login(""passWord"", ""/C/jaa.apf"");var myDoc = app.openDoc(""/C/very simple pdf.pdf"");f = myDoc.addField(""mySignature"", ""signature"", 0, [0,0,0,0]);f.signatureSign(ppklite,{ password: ""passWord"", location: ""somewhere, UK""});")