Hi Shankar: The functions in pkcs7.h look rather straightforward - I think the hint you need is to not sign the data outside of the PKCS7 functions (don't use RSA_sign), but instead, try using just the functions in pkcs7.h to do what you want.
(I've never done what you're trying to do, so don't ask me for more help, however, the above is how I'd go about tackling your problem). Have fun. Patrick. shankar ks wrote: > Hi Every body, > > Please help me for the following information . I am working on securtiy > issues ,I have to sign, compress, encrypty the file as CMS package. In > order to fullfill conditions I have to use pkcs7 API's ( in C - Program). > > Let me give you some brief on my work : > I have a file , I need to sign that file ( I signed the file using RSA_sign) > funtion. ). once the file is signed I need to envelope the file as a CMS > package. > > So Could any one who has prior knowledege on usage of pkcs function , please > help me how to do this signing and verification . > If possible please give me the links where I can get data on these PKCS#7 > funtions .. > > please help me , > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]