"COMPONENTS OF " asn

Bertil Karlsson <>
Tue Jan 10 10:57:54 CET 2006


Hi,

COMPONENTS OF is supported, but I think the embedded structure containes 
some uncovered functionality or it may reveal a bug. Since you have sent 
me your specs in a another mail I can track the error and will look into 
it later on.

/Bertil

Eranga Udesh wrote:

>Hi,
>
>I can't compile below definition.
>
>SIGNATURE{ToBeSigned} ::= SEQUENCE {
>  algorithmIdentifier  AlgorithmIdentifier,
>  encrypted            ENCRYPTED-HASH{ToBeSigned}
>}
>
>SIGNED{ToBeSigned} ::= SEQUENCE {
>  toBeSigned  ToBeSigned,
>  COMPONENTS OF SIGNATURE{ToBeSigned}
>}
>
>It gives the error,
>{asn1,
>{illegal_COMPONENTS_OF,
>{undefined,
>{pt,{'Externaltypereference',
>263,
>'AuthenticationFramework',
>'SIGNATURE'},
>[{type,
>[],
>{'Externaltypereference',
>263,
>'AuthenticationFramework',
>'ToBeSigned'},
>[],
>[],
>no}]}}}}
>
>Error is "COMPONENTS OF" sub-type. Is it a non-supported feature in the
>Erlang ASN.1 compiler? Is there any workaround ways?
>
>Please advice soon.
>
>Thanks,
>- Eranga
>
>
>  
>



More information about the erlang-questions mailing list