Implemented by
nsICMSManager (service) Interface to access users certificate store
[scriptable, uuid(14b4394a-1dd2-11b2-b4fd-ba4a194fe97e)]
interface nsICMSSecureMessage : nsISupports
Methods
decodeCert - decode a BASE64 string into an X509Certificate object
nsIX509Cert
decodeCert(in string value)
getCertByPrefID - a BASE64 string representing a user's certificate (or NULL if there isn't one)
string
getCertByPrefID(in string certID)
receiveMessage - recieve an encrypted (enveloped) message
string
receiveMessage(in string msg)
sendMessage - send a text message to the recipient indicated by the base64-encoded cert.
string
sendMessage(in string msg, in string cert)
Compare to: