[EMAIL PROTECTED] wrote:

Hello.



PersonnelRecord ::= [APPLICATION 0] IMPLICIT SET {

name Name,

title [0] VisibleString,

number EmployeeNumber,

dateOfHire [1] Date,

nameOfSpouse [2] Name,

children [3] IMPLICIT

SEQUENCE OF ChildInformation DEFAULT {} }



ChildInformation ::= SET

{ name Name,

dateOfBirth [0] Date}



Name ::= [APPLICATION 1] IMPLICIT SEQUENCE

{ givenName VisibleString,

initial VisibleString,

familyName VisibleString}



EmployeeNumber ::= [APPLICATION 2] IMPLICIT INTEGER



Date ::= [APPLICATION 3] IMPLICIT VisibleString -- YYYYMMDD



Can anyone give a short description about the above statements? In
particular on the function about

[APPLICATION X]

[1]/[2]/[0]...

{}

Thanks a lot.I know this is one basic question. Please help. :-)


This is a personnel record, which consists of multiple relevant fields,
like how many children a person has, and such.

The [APPLICATION X] and other tags provide additional information for
BER encoder and decoder, which does not affect the semantics of the
specification but may influence the binary format compatibility.


--
Lev Walkin
[EMAIL PROTECTED]
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to