Is other tool for openssl. (I need that and i think that I can contribute you ^^)

http://www.openssl.org/docs/apps/cms.html
http://wiki.openssl.org/index.php/Command_Line_Utilities#smime_v3_cms