ASN.1 structures, BER decoding, and DER encoding.