publicED_KEY,$this->APP_KEY, $this->VERSION, $this->SIGN, $this->METHOD, $this->SESSION_ID, $this->CUSTOMER_NO,$this->ENCRYPT, "", false); } public function __set($name, $value){ $this->$name = $value; } public function __get($name){ return $this->$name; } public function getSecret(){ if(!empty($this->appKey) && strlen($this->appKey) > 0){ return $this->aesSecretKey; }else{ return $this->hmacSecretKey; } } public function ispublicedKey($key){ if(in_array($key,$this->publicED_KEY)){ return true; } return false; } }