ASN1 Private Constructor
Bertil Karlsson
bertil@REDACTED
Wed Apr 7 17:58:27 CEST 2004
Try with something like:
P ::= SEQUENCE {
a INTEGER,
b BOOLEAN
}
PwithPRIVATEtag ::= CHOICE {
c [PRIVATE 1] P
}
/Bertil
Sean Hinde wrote:
> Hi all,
>
> Anyone have any idea how to specify a privately tagged constructor in an
> asn1 source file? In other words it should behave like SEQUENCE but have
> a different tag value
>
> The reason is that I need to create a specific encoding which begins
> with 0xE1 then goes straight into the sequence of values, and I'd quite
> like to use the asn1 compiler.
>
> Thanks,
> Sean
>
>
More information about the erlang-questions
mailing list