sh wrote: > Thanks. I'm saw a bit of documentation and study cmsutil sources. But > it's not enough. I've a task where I receive a raw cms from mime parser > сhunk by chunk. And I need decode it when I can. And I need to know what > certificate I can use for decoding. Where I can look such code? > Thunderbird use s/mime library in the same way? May be I need look at > Thunderbird sources?
Yes, but I suspect that's going to be a lot more difficult to understand than the MUCH simpler program cmsutil, which already does most of what you want to do, and doesn't have all the complexity of the browser in it. See http://lxr.mozilla.org/security/source/security/nss/cmd/smimetools/cmsutil.c -- Nelson B 12345678901234567890123456789012345678901234567890123456789012345678901234567890 00000000011111111112222222222333333333344444444445555555555666666666677777777778 _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto