Bj�rn Schneider wrote:
> 
> 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).

Why go back to 1990? Why not translate the old stuff to something newer?

> But now my problem:
> 
>   ISO7816DOAttributes ::= ObjectValue{ CTIO-OPAQUE.&Type }

Unfortunately there is an error in the notation. CTIO-OPAQUE is an
object class, and you should use an object of that class instead.
If you had a single object of that class, you would have your type
defined on that object.

> 
> 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 ;-) ).

Not all on this list are living in the US ...

> 
> Thank you,
>   Bj�rn Schneider

Best regards
Egon Andersen
-- 
* Talura ApS      * Phone: +45 43 52 50 00 *
* Baldersh�j 24 B * mailto:[EMAIL PROTECTED]  *
* DK-2635  Ish�j  * http://www.talura.dk   *

Reply via email to