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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com