"COMPONENTS OF " asn

Eranga Udesh <>
Mon Jan 9 08:33:46 CET 2006


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