WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsICMSSecureMessage

IID:14b4394a-1dd2-11b2-b4fd-ba4a194fe97e
Inherits From:nsISupports

nsICMSManager (service) Interface to access users certificate store

This interface is implemented by the following components:


Methods

nsIX509Cert decodeCert ( char* value ) char* getCertByPrefID ( char* certID ) char* receiveMessage ( char* msg ) char* sendMessage ( char* msg , char* cert )

nsIX509Cert decodeCert ( char* value )

DecodeCert - decode a BASE64 string into an X509Certificate object

Arguments:
value

char* getCertByPrefID ( char* certID )

GetCertByPrefID - a BASE64 string representing a user's certificate (or NULL if there isn't one)

Arguments:
certID

char* receiveMessage ( char* msg )

ReceiveMessage - recieve an encrypted (enveloped) message

Arguments:
msg

char* sendMessage ( char* msg , char* cert )

SendMessage - send a text message to the recipient indicated by the base64-encoded cert.

Arguments:
msg
cert

Reference documentation is generated from Mozilla's source.