Hi Steven and others,
i have a doubt regd these tags in ASN1:
when do we use implicit tags & when do we use explicit tags?

i have read the 'layman's guide to a subset of ASN.1, BER & DER' but it seems i didn't get the exact difference b/n the two types of tags - in the sense of exact context in which each of these types of tags are used.

bye & thnx
- sravan

Steven Reddie wrote:

I should clarify that tags aren't blindly used to identify members of
structured types, only when there would otherwise be ambiguity such as with
optional members in a SEQUENCE, or in a CHOICE.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Reddie
Sent: Thursday, 8 September 2005 11:07 AM
To: openssl-users@openssl.org
Subject: RE: OCSP, Nonce and the requestExtensions

Do a search for a document titled "A Layman's Guide to a Subset of ASN.1,
BER, and DER".  The tags in this case, and generally, are used to identify
the components in the structure.  Since the last two members are optional it
is necessary to encode the structure so that it is possible to tell which of
the optional components is present.  I don't know why the version has an
explicit tag -- it seems redundant.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to