Standard en/decode of ASN.1 structures
