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.  

Thanks & Regards,
Anoop


Dr. Stephen Henson wrote:
> 
> 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]
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Issues-with-CMS-for-SMIME-implementation-using-OPENSSL-source-code-tp23110079p23125953.html
Sent from the OpenSSL - Dev mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to