Antonio Ruiz Martínez wrote:
>
> Hello!
>
> I'm confused, when must I use the structure ASN1_TYPE and when must
> I use the structure ASN1_OBJECT?
>
They are completely different things.
ASN1_OBJECT is an ASN1 OBJECT IDENTIFIER. ASN1_TYPE is a general type
which can read in just about any ASN1 structure. Its roughly equivalent
to the ASN1 "ANY" type. It will read in one ASN1 structure: for example
any string type, a complete SET or SEQUENCE. The string types include
the relevant type in the structure whereas a SEQUENCE, SET or implicitly
tagged type's whole encoding is stored.
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]