On Wed, Apr 06, 2005, Rafeeq Ahmed wrote: > Hi Daniel, > Thanks for ur respose,the information which u have provided is > present in the RFC-2630. > > Our issue is to create a octet string (unsigned char string) of the cms > object. > > thus our objective can be achived in two steps. > > 1. Creation of CMS (signed-data) object, > 2. populationg the created CMS object, > 3. representing the CMS object into a octet string. > > This task seems to be fesiable, because as per RFC-2630 > > "The Cryptographic Message Syntax values are generated using ASN.1 > [X.208-88], using BER-encoding [X.209-88]. Values are typically > represented as octet strings." > > so, see if possible can you be able to provide (advice us) about any > OpenSSL api's using which our (above mentioned) task can be > accompalished. >
Unless you specifically need the CMS functionality you can use a PKCS#7 signedData structure instead which is compatible. The function PKCS7_sign() can be used for that. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]