public function getRequestSignature()
    {
        if (empty($this->requestSignature)) {

            $string = $this->getApiId()
                . $this->getTimeStamp()
                . $this->getNonce()
                . $this->getDataString();

            $this->requestSignature = hash_hmac('sha1', $string, $this->getService()->getApiSecret());
        }

        return $this->requestSignature;
    }
public function getRequestSignature()
    {
        if (empty($this->requestSignature)) {

            $string = $this->getApiId()
                . $this->getTimeStamp()
                . $this->getNonce()
                . $this->getDataString();

            $this->requestSignature = hash_hmac('sha1', $string, $this->getService()->getApiSecret());
        }

        return $this->requestSignature;
    }
public function getRequestSignature ( ) { if ( empty ( $ this -> requestSignature ) ) { $ string = $ this -> getApiId ( ) . $ this -> getTimeStamp ( ) . $ this -> getNonce ( ) . $ this -> getDataString ( ) ; $ this -> requestSignature = hash_hmac ( 'sha1' , $ string , $ this -> getService ( ) -> getApiSecret ( ) ) ; } return $ this -> requestSignature ; }
Calculate the hmac-sha1 signature of the request

This will be sent as secure[signature] in the request

@return string
Calculate the hmac - sha1 signature of the request