980820-1

Write an ASN.1 speficication to be used when returning a name from a data base. The data returned will either be a name, as a text string, or an error code. The error code can indicate various error conditions such as "not permitted" or "not found". The recipient must know whether an error code or a useful reply is returned.

Possible reply

Result ::= CHOICE { Filename, Errorcode }

Filename ::= UniversalString

Errorcode ::= INTEGER { not-permitted(0), not-found(1) }

spacer, not visibile

The secret code is Mellom.

List of exam questions