On Mon, Nov 14, 2005, Konark wrote:

> Hello Steve,
> 
>  
> 
> Once again Thanks for your last solution ( Digest info ).
> 
>  
> 
> I have small doubt about ...
> 
>  
> 
>  
> 
> what can be the content type (part of Content info ) other than simple data
> in Signed data.
> 
>  

The high level S/MIME routines have only been tested where the inner content
is of type 'data'. Their behaviour for other types is undefined and it is
quite likely they wont work.

The ASN1 PKCS7 structure should correctly encode other types: its just that
they will largely need to be processed manually.

The syntax of the inner content is one area where S/MIME v2 and S/MIME v3
differ. The V2 syntax is to include the ASN1 structure inside the PKCS#7
structure the V3 syntax encodes the data inside an OCTET STRING in the CMS
structure. V3 is the more sensible thing to do because it avoids possible ASN1
reencoding problems. Doesn't help with OpenSSL though because it only supports
V2.

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]

Reply via email to