I'm developing a S/MIME email send / receive extension for web
interface. I'm using nsIMsgComposeSecure interface to encrypt a
message using a certificate I get from firefox key database and works
just fine. What I want to do is to encrypt the same message for
multiple recipients (and to "self"). That's a supported feature of the
S/MIME specification and thunderbird seems to handle it correctly but
I can't find a way to implement this in firefox. Does anyone have any
ideas how to do this?

Thanks in advance,