public function buildAccessParameters($public_key, &$env_key, &$enc_data)
    {
        $params = $this->builParametersList();
        if (is_null($params)) {
            return false;
        }
        $src_data = Mobilpay_Payment_Request::buildQueryString($params);
        $enc_data = '';
        $env_keys = [];
        $result = openssl_seal($src_data, $enc_data, $env_keys, array($public_key));
        if ($result === false) {
            $env_key = null;
            $enc_data = null;

            return false;
        }
        $env_key = base64_encode($env_keys[0]);
        $enc_data = base64_encode($enc_data);

        return true;
    }