Re: S/MIME toolkit CMS wraper

2007-09-25 Thread sh
sh wrote: > Hi there, I need a little CMS wraper. I need decode S/MIME message chunk > by chunk. I start make it based on cmsutil. But I receive "segmentation > fault" every time on call NSS_CMSDecoder_Update. What's wrong? > > > > > //- w

Re: streaming CMS with NSS

2007-02-13 Thread sh
sh пишет: > Hi there! > > How I can decode S/MIME in stream by NSS_CMSDecoder? Now I have > decrypted data after pushed last portion of data from S/MIME'd message > to NSS_CMSDecoder by NSS_CMSDecoder_Finnish only. But I need decode CMS > on the fly. So, I see in NSS_C

streaming CMS with NSS

2007-02-09 Thread sh
Hi there! How I can decode S/MIME in stream by NSS_CMSDecoder? Now I have decrypted data after pushed last portion of data from S/MIME'd message to NSS_CMSDecoder by NSS_CMSDecoder_Finnish only. But I need decode CMS on the fly. So, I see in NSS_CMSDecoder_Start content callback, but how I can use

Re: S/MIME toolkit CMS wraper

2006-11-23 Thread sh
I'm forget initialize library fist. sorry sh wrote: GDB give me this backtrace: (gdb) bt #0 0x00c4b704 in PL_HashTableLookupConst () from /usr/lib/libplds4.so #1 0x06c5c4cf in SECOID_FindOID () from /usr/lib/libnss3.so #2 0x00d426c5 in NSS_CMSContentInfo_GetContentTypeTag () from /us

Re: S/MIME toolkit CMS wraper

2006-11-23 Thread sh
) at nss.cpp:171 Bob Relyea wrote: Bob Relyea wrote: sh wrote: Hi there, I need a little CMS wraper. I need decode S/MIME message chunk by chunk. I start make it based on cmsutil. But I receive "segmentation fault" every time on call NSS_CMSDecoder_Update. What's wrong?

S/MIME toolkit CMS wraper

2006-11-22 Thread sh
Hi there, I need a little CMS wraper. I need decode S/MIME message chunk by chunk. I start make it based on cmsutil. But I receive "segmentation fault" every time on call NSS_CMSDecoder_Update. What's wrong? //- wraper code #include #include #include #include #include class Sm

Re: about s/mime

2006-09-21 Thread sh
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

about s/mime

2006-09-20 Thread sh
Hi there, Are you have any documentation about using and design s/mime library. Thanks, Alexander ___ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto