Generic elements used to encode and decode tagged and untagged ASN.1 objects