Signing design elements with LotusScript agent

Hi,

we have the following problem: we need to sign design elements in an agent running on the workstation. That can be done using the NotesDatabase.sign() function. Our problem is, that before we can call sign(), we need to switch the ID file. We are trying to do this by using the NotesRegistration.SwitchToID() funtion. The ID file has multiple passwords for security reasons, but you can only pass .SwitchToID() one password string.

Does anyone know of a way of how to pass multiple passwords to the .SwitchToID() function, or of another way of accomplishing the task to sign databases using an agent?

thanks,

Ingo