call for retrieving entitys public key