How do I sign a document using a X.509 Certificate? NOT with notes ID

I want to sign documents not with the notes ID. I must do it with the X509 Certificate. I can do it with more than one Certificate?

Thanks for your help!