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.

Yes.

>       and the tag for Y is encoded as [0] because IMPLICIT restricts
> other tags following it
>       to be encoded.

Y is encoded as [0] and the universal tag for BOOLEAN.

-------------------------------------------------------------------------
Bancroft Scott                               Toll Free    :1-888-OSS-ASN1
OSS Nokalva                                  International:1-732-302-0750
[EMAIL PROTECTED]                                 Tech Support :1-732-302-9669 x-1
1-732-302-9669 x-200                         Fax          :1-732-302-0023
http://www.oss.com

Reply via email to