I have a problem with a signed applet. The associated JAR file (it is stored in a shared repository) is used by two differents applications (A and B), and the application A expects the JAR is signed with the Cert1 but the application B expects the JAR is signed with the Cert2. If the JAR is signed with both certifications, when I access to the application A, as well as the Cert1, the Cert2 is also required to be accepted. So when I access to the application B, the Cert1 is required to be accepted as well the expected one.
My question is, can I sign a JAR with two certifications (for two different applications) and when I access to one of the applications only the suitable (and expected) certification will be required to be accepted (Application A ---> Cert1 and Application B ---> Cert 2)?
I expect I have explained my problem to be understood.
Thank you so much to all, expecially to everyone who contribute with an answer.
Any correction of my English will be gratefully accepted.