Strips PKI artifacts down to plain base64-encoded strings, and bundles them back up.