Path: utzoo!attcan!uunet!indetech!schmidt From: schmidt@indetech.com (Douglas C. Schmidt) Newsgroups: comp.protocols.iso Subject: Declaring bounded arrays of bytes Message-ID: <1990Oct5.211901.12679@indetech.com> Date: 5 Oct 90 21:19:01 GMT Reply-To: schmidt@indetech.COM (Douglas C. Schmidt) Organization: Independence Technologies, Inc. Fremont, CA Lines: 25 Hi, I've got a quick ASN.1 question that I hope someone can answer for me. I'm trying to define a bounded array of OCTETs using ASN.1 syntax and I wonder if the following is the ``correct'' way to accomplish this: ---------------------------------------- Foo DEFINITIONS ::= BEGIN Version-number ::= SEQUENCE SIZE (5) OF OCTET END ---------------------------------------- In other words, Version-number defines a type that represents a chunk of space 5 OCTETs in length. Are there other ways of accomplishing the same thing? Thanks, Doug -- ____*_ Douglas C. Schmidt schmidt@indetech.com \ / / Independence Technologies {sun,sharkey,pacbell}!indetech!schmidt \/ / 42705 Lawrence Place FAX: 415 438-2034 \/ Fremont, CA 94538 Voice: 415 438-2023