Hi!

I need some help on the following construct:

  CTIO-OPAQUE ::= TYPE-IDENTIFIER

  ObjectValue{Type} ::= CHOICE {
    indirect        ReferencedValue,
    direct           [0] Type
  }

  ReferencedValue ::= SEQUENCE {...}

Until now, it's quite ok - I'm able to "translate" it to the old 1990-format 
of ASN.1 (without parameters & classes).
But now my problem:

  ISO7816DOAttributes ::= ObjectValue{ CTIO-OPAQUE.&Type }

How should I translate this? I'm not sure if the following is correct:

  ISO7816DOAttributes ::= CHOICE {
    indirect           ReferencedValue,
    direct              [0] SEQUENCE {
                                  id              OBJECT IDENTIFIER,
                                  value         ANY DEFINED BY id
                          }
  }

Would this construct have  the same functionality like the preceeding 
definitions? By the way - it's copied out of the ISO 7816 part 15 module 
(similiar to RSA-Labs' PKCS #15).

I would be pleased if anybody could help me - i need it urgently for my 
bachelor thesis (yes - that's maybe unusual in the US, but it seems we 
couldn't get any degree without a dissertation in Germany ;-) ).

Thank you,
  Bj�rn Schneider





Reply via email to