long time no see.
I have been working on my PHP ASN.1 parser and I got 99% of the specification implemented.
I’m having problems figuring out how the encoding pipeline of ASN.1 works, I know that there are a lot of encoding rules but I don’t know if the module is supposed to be encoded or used in conjunction with ASN.1 code that is supposed to be encoded.
Like for example, if an LDAP client were to send an LDAP server credentials.
How would I encode the ASN.1 code if I were to send a response back to the LDAP client?