Fix incorrect DER encoding of SETs and all knock-ons from that.
12 files changed