Hi,
Thanks for the reply. My target compilation
is for BER. Therefore the Constraints are not much relevant. If I can remove
the constraints from the below definition will do the trick.
Thanks,
- Eranga
From: Kenzo
[mailto:[EMAIL PROTECTED]
Sent: Thursday, January 19, 2006
4:37 PM
To: Eranga Udesh
Subject: Re: [ASN1] ASN.1 Remove
Value Check Contraints
Hi,
I'm not sure, but You can convert the code as you make. The problem still for
the:
{{dirAuthenticationTwoWay | dirAuthenticationThreeWay |
spkmThreeWay}
This is a constrain (maybe beacause I don't know what you have to do) that you
can lost. You have to link almost 2 parameters to create a table of
constraints. You have to look to the spec to see the right link between these
parameters.
Try because is only an idea.
Bye
Alessandro Lago
2006/1/19, Eranga Udesh <[EMAIL PROTECTED]>:
Hi,
I have aANS.1 spec as,
dir2or3se ABSTRACT-SYNTAX ::= {
SESEapdus
{{dirAuthenticationTwoWay
| dirAuthenticationThreeWay |
spkmThreeWay},
{NoInvocationId}}
IDENTIFIED
BY {id-as-2or3se}
}
Unfortunately the ASN.1 compiler I use (Erlang) doesn't still support
SingleValue Set Contraints. How can I convert the above spec to remove Value
Set constraint?
Could it be like,
dir2or3se ABSTRACT-SYNTAX ::= {
SESEapdus
IDENTIFIED
BY {id-as-2or3se}
}
Thanks,
- Eranga
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1
|
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1