"COMPONENTS OF " asn

Eranga Udesh casper2000a@REDACTED
Tue Jan 10 12:11:47 CET 2006


Hi Bertil,

Thanks for the reply. I will see to change the spec and do a workaround.
Anyway I am looking forward for a better solution/advice from you, once you
find some time to go through that.

Thanks,
- Eranga



-----Original Message-----
From: Bertil Karlsson [mailto:bertil.karlsson@REDACTED] 
Sent: Tuesday, January 10, 2006 3:58 PM
To: Eranga Udesh
Cc: erlang-questions@REDACTED
Subject: Re: "COMPONENTS OF " asn

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