Install asn1c by entering the following commands in the terminal:
sudo apt update sudo apt install asn1c
ASN.1 compiler for C
This ASN.1 compiler turns the formal ASN.1 specifications into the C code. The compiler is shipped together with conformant BER/DER/XER codecs. The X.509 and GSM TAP3 decoding examples are shipped as well.