uasn1
uasn1 is a small BER/DER ASN.1 encoding/parsing library in C, with mostly PKI applications in mind.
Known limitations:
- OIDs must have components small enough to fit in a unsigned int.
- The only supported algorithms are SHA1 and RSA.
- No string format validations are performed.
- Only a very small subset is supported.
- Leaks a lot of memory.
Possible improvements:
- Have a parsing mode that minimizes memory allocation.