implemented get_pubkey_info