Adapt x509write_pubkey interface to use PK

key_app_writer will be fixed later
3 files changed