Closed Mourhamo closed 5 years ago
I think this is another example of constraint syntax -- the pipe character is not related to OBJECT IDENTIFIER but helps represent a constrained OBJECT IDENTIFIER type:
PolicyQualifierId ::= OBJECT IDENTIFIER ( 1 | 0 )
A PolicyQualifierId
in this example, thus, can only hold the values OBJECT IDENTIFIER { 1 }
or OBJECT IDENTIFIER { 0 }
.
I've made several attempts at handling constraint syntax better, but I haven't found anything that works well yet.
This is now implemented on master.
Hi,
I have a issue in case of an OBJECT IDENTIFIER define with two args: OBJECT IDENTIFIER (id-qt-cps | id-qt-unotice)
i think the character | is not handeled
find the ANS1 line 92
Thanks for help :) PKIX1Implicit88.asn1.txt