Hi Olivier,

Thanks for your quick response.

I think I didn't express my question quite clearly.
Actually, I wonder the TLV format for the SEQUENCE SIZE OF SEQUENCE.
Using the example,
and under the assumption,  would  the encode be like following?

30 LENGTH

30 LENGTH
04 08....
04 08....
04 08....

30 LENGTH
04 08...
04 08...
04 08...

30 LENGTH
04 08...
04 08...
04 08...

30 LENGTH
04 08...
04 08...
04 08...

30 LENGTH
04 08...
04 08...
04 08...

Am I right?


Olivier Dubuisson wrote:

> Jane S. Chunli wrote:
> > Hi ,
> >
> > Would you help to explain how to encode the following(BER):
> >
> > PsendAuthenticationInfoRess   ::=    SEQUENCE SIZE (1..5)    OF
> >             SEQUENCE {
> >                         rand        OCTET  STRING (SIZE (8)),
> >                         resulti      OCTET STRING    (SIZE (8)),
> >                         resultj      OCTET STRING    (SIZE (8)),
> >                 ...  }
> >
> >
> > What's the tag would be for this type?
>
> Making the assumption that your module doesn't include an AUTOMATIC TAGS
> clause in its header, it'll be the tag of SEQUENCE OF which is the same
> as the tag of SEQUENCE, i.e., 16.
> --
> Olivier DUBUISSON
> france telecom R&D
>
> DTL/TAL - 22307 Lannion Cedex - France
> t: +33 2 96 05 38 50 - f: +33 2 96 05 39 45 - http://asn1.elibel.tm.fr/

--
Jane Sui
SF IN development,Lucent Qingdao(QD),R&D
Tel: (Office) +86-532-8702000 x5082
     (Mobile) +86-13608988935
Email: [EMAIL PROTECTED]
http://gdcsr60.gdc.lucent.com/qdr&d/cfd_labsuprt/in_ft/



Reply via email to