function skeletons for generating/importing/backup key pair