With this script, I can perform batch signature:
// Choose handler
var manipulador = security.getHandler("Adobe.PPKLite");
// login -- change as appropriate
manipulador.login("test123", "/D/Users/p004826/AppData/Roaming/Adobe/Acrobat/10.0/Security/Israel.pfx");
// informations
var myInfo = {password: "test123",
reason: "Salvar como teste",
mdp: "defaultAndComments"};
//Invisible Sign
this.certifyInvisibleSign({
oSig:manipulador,
oInfo:myInfo,
cDIPath:"/c/temp/sigSign.pdf",
cLegalAttest: "Certificado ussando o JavaScript",
bUI:false
});
But, it accomplishes only with a .PFX file saved locally. I'm trying to find a way that makes the user to insert a card and enter a password to make the e-signature. Does anyone know any other way?
Sorry for my bad english
Thank you!!!