xpageslotus-noteslotusscriptxpages-extlibxpages-ssjs

Can you Sign The agents in a database programmatically?


Is there a way to programmatically sign the agents in a database? I'd like to use a run on server agent to sign the agents of a database that I pass it. I'd like to do this using LotusScript or an XPage.

MJ


Solution

  • Methods in both answers are correct. But they will work on notes client...

    Signing any document needs a private key which exists in your ID file. Therefore, normally, you cannot sign an agent with a code that doesn't run on Notes client.

    However, there are products (e.g. Ytria SignEZ) using C-API to sign design elements but they cache necessary ID file in a secure storage (with recent versions ID Vault can be used for this but I don't know how much portion of API is open for us).

    UPDATE: As Fredrik said, signing with server id is always possible via Admin request.