I've been working on a PHP ASN.1 library for years and I'm almost close to completion. However, one thing bothers me... This line in particular.
WITH SYNTAX {KIND abstract MUST CONTAIN {objectClass} LDAP-NAME {"top"} ID id-oc-top}
I've been trying to implement a check that determines whether the value inside the curly brackets is a set or a sequence/set value. I know the assigner name's first letter has to be uppercase but what if there was no name? How is it supposed to tell the difference between a value set and a theoretical sequence/set with only one element?