zen wrote:
is my declaration proper? how can i create an instance of the nsIStringInputStream? compiler complaints 'do_CreateInstance' is undeclared identifier.
Then you need to include the right header. That's nsComponentManagerUtils.h in this case.
Note that you can't use AdoptData for a literal string; when you do that, the stream will try to free the data, which will crash. Use ShareData.
smime.p7s
Description: S/MIME Cryptographic Signature