On Sat, Apr 18, 2009, anoopg wrote: > > Hi, > I want to use the OpenSSL source code for SMIME implementation.I > downloaded the latest complete trunk of openSSL source code > (openssl-1.0.0-beta1.tar.gz ) and then built it and installed the > binaries.Build is through but, I am not able to find the > definitions/prototypes of some of the functions used for CMS encryption for > SMIME. > > E.g. CMS_ContentInfo_new(),CMS_ContentInfo_free(cms),X509_* and lots of > other structs. > > I checked the downloaded source code using md5 and it is the complete source > code.I want to know whether the OPENSSL source code has got any external > dependency on any other library. > I am confused because in the website of OpenSSL, then have given one command > line interface options to test SMIME. > > Any help in this regard will be highly appreciated. >
As with many ASN1 definitions the functions are defined and implemented through macros. The CMS structures are opaque and not exposed in public headers. This is to prevent applications modifying undocumented structure internals and making it impossible to update the structures in future. All structure access must be through the public APIs. 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]
