move pki_passport_load_from_memory to libdnds