Add a way to write certificate keys back in ISO 9796-2 format
Allows the certificate downloader to store decoded certificates, and strip unneeded signatures or other data from the certificates.