> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of naoki > hashimoto > Sent: Friday, November 30, 2001 7:33 AM > To: [EMAIL PROTECTED] > Subject: Re: [ASN.1] Information Objects > > > Hello, > > > > > FUNCTION ::= CLASS { > > > > > > > > &ArgumentType, > > > > &ResultType DEFAULT NULL, > > > > &Errors ERROR NULL, > > > > &Code INTEGER UNIQUE -- ERROR should be &code > > > > } > > > > > MyFunction{FUNCTION:funct } ::= SEQUENCE { -- ERROR should be Funct > > > > opcode FUNCTION.&Code({funct}), > > > > argument FUNCTION.&ArgumentType({funct} {@Opcode}) > > > > } > > > > Minor points: "funct" should start with an upper case letter > and "@Opcode" > > should be "@opcode". > > > > > > Is it true that argument field in MyFunction is encoded as > an OpenType (ie) > > > > Length encoding followed by the encoding of either SEQUENCE > or INTEGER > > > > depending on Opcode. > > > > > > Yes, MyFunction is an open type. > > > > No, MyFunction is a parameterized type that resolves to a SEQUENCE type. > > "argument" is an open type, not MyFunction. > > I'd like to confirm. > Do you mean > > "argument" is an open type and > " opcode" is not an open type? > >
argument is an Open Type and opcode is of type INTEGER > > > Thanks > ------------------------------------------ > Naoki Hashimoto > SoftLab Inc > [EMAIL PROTECTED] >
----------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:[EMAIL PROTECTED] and delete this mail from your records. ------------------------------------------------------------------------------------------------------------------------
