On Sun, Apr 19, 2009, anoopg wrote:

> 
> Hello Dr. Henson ,
>    Thanks a lot for your reply.Actually, I want to extract the CMS
> functionalities for SMIME using the OpenSSL source code.As you said, the CMS
> structures are opaque and not exposed in public headers. I think in that
> case,it must be referring to some internal library/binary which ( I think)
> is not present in the OpenSSL source code,please correct me if I am wrong. I
> am wondering how other people are able to use OpenSSL source for CMS
> encryption (using cms.c /cms_smime.c).They should find linking errors and if
> not,then something is wrong with my understanding of the OpenSSL source
> code.Would you please throw some more light on this issue.  
> 

At a user level you can use the cms utility with source in apps/cms.c . It is
however a rather complex utility for the beginner to understand because it can
perform almost all S/MIME functions in one source file.

There are much simpler examples in demos/cms which perform basic functions.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to