On Thu, Jan 12, 2006, Szabolcs Berecz wrote: > Hi! > > I can 'decode' it by hand and I could 'encode' it, too, but I'm sure > there is a better way. > Could you tell me where to look in the openssl source? >
This is represented as the ASN1_TYPE structure which is roughly equivalent to the ASN1 "ANY" type. Universally tagged simple types are represented in the ASN1_TYPE structure itself. Structured types or those which aren't univerally tagged have their entire encoding repretsent in the ASN1_TYPE structure. 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]