Electronic government from the legal point of view: methods