> chandu wrote:
> 
> Hi every body,
> 
> I have a doubt regarding PKCS7_DataInit functions...
> 
> I want to know the purpose of the functions PKCS7_DataInit,
> PKCS7_DataUpdate and PKCS7_DataFinal functions... and their
> application...
> 

PKCS7_DataInit() and PKCS7_DataFinal() are low level PKCS7 routines used
for signing and encrypting data in PKCS#7 routines for S/MIME. Unless
you have a good reason for using them the higher level routines
PKCS7_sign() and PKCS7_encrypt() should be used instead.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to