Hi All,

Can anyone please tell me whether the following data
is encoded (BER) properly as per the asn.1 definitions
attached and also whether it ensures the asn.1
standards.

Data:

30 46 A0 03 0A 01 02 A1 03 02 01 64 30 3A A0 1B 
30 19 02 02 0C 1C 02 01 02 02 01 15 02 01 01 04
0A 31 31 30 37 38 34 35 30 36 34 A0 1B 30 19 02
02 0C 1C 02 01 02 02 01 0A 02 01 02 04 0A 36 36
34 30 30 39 36 35 34 32

ASN.1 syntax file is:

ALCATEL-IN  DEFINITIONS IMPLICIT TAGS  ::= BEGIN

StktVarPart ::= SEQUENCE
{
        type     [0]     Stkt-Type, 
        srv-id   [1]     INTEGER,
        ele      SEQUENCE OF Stkt-ele
} 

Stkt-Type ::= ENUMERATED
{
        call (2),
        televoting (5),
        management (3)
} 

Stkt-ele ::= CHOICE
{
        data     [0] Stkt-tag,
        evt      [1] Stkt-evt,
        obj      [2] Stkt-obj
}

Stkt-tag ::= SEQUENCE
{
        feature    INTEGER,
        subfeat    INTEGER,
        type       INTEGER,
        subtype    INTEGER,
        dump       OCTET STRING
}

Stkt-evt ::= SEQUENCE
{
        feature    INTEGER,
        subfeat    INTEGER,
        type       INTEGER,
        subtype    INTEGER,
        value      INTEGER,
        dump       OCTET STRING OPTIONAL
}

Stkt-obj ::= SEQUENCE
{
        class     INTEGER,
        object    INTEGER,
        mn        OCTET STRING OPTIONAL
}

END


Many thanks in advance

thanks and regards
kb devaraj







                
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
_______________________________________________
ASN1 mailing list
[EMAIL PROTECTED]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to