"Egon Andersen, Talura" wrote:
>
> 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.
Well, I've better correct myself. It is not necessarily an error in the
notation, as it defines an ObjectClassFieldType. Here it defines an open
type, and as there are no constraints on the type it can be regarded as
the old 'ANY'.
So you type seems to be translated to:
ISO7816DOAttributes ::= CHOICE {
indirect ReferencedValue,
direct [0] ANY
}
which probably didn't help you much...
So I'll still say that there are something 'wrong' with the notation.
>
> >
> > 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 *
--
* Talura ApS * Phone: +45 43 52 50 00 *
* Baldersh�j 24 B * mailto:[EMAIL PROTECTED] *
* DK-2635 Ish�j * http://www.talura.dk *