Hi Krishna,

You are correct for X, but not for Y.  The IMPLICIT replaces only one tag,
not all tags, so you would get [0] and [UNIVERSAL 1] for the BOOLEAN.

----------------------------------------------------------------------------
Paul E. Thorpe                                 Toll Free    : 1-888-OSS-ASN1
OSS Nokalva                                    International: 1-732-302-0750
Email: [EMAIL PROTECTED]                          Tech Support : 1-732-302-9669
http://www.oss.com                             Fax          : 1-732-302-0023

On Thu, 3 Jan 2002, Bujji krishna R B wrote:

> Hello,
> 
>       I would like to know ,how the tags for the following are enoded in BER.
> 
>       X ::= [0] EXPLICIT [1] IMPLICIT INTEGER
> 
>       Y ::= [0] IMPLICIT [1] EXPLICIT BOOLEAN
> 
>       Am I correct , if the tag for X is encoded as [0] [1] and the universal tag
> of INTEGER
>       is not encoded here because of the IMPLICIT key preceding it.
> 
>       and the tag for Y is encoded as [0] because IMPLICIT restricts other tags
> following it
>       to be encoded.
> 
> 
> Thanks
> krishna
> 
> 
> 
> 
> 

Reply via email to