private function generateApiPublicKey()
    {
        if (null === $this->_api_key_private) {
            return $this->generateRandomApiKey()->getApiKeyPublic();
        }

        return sha1($this->_created->format(\DateTime::ATOM) . $this->_api_key_private);
    }
private function generateApiPublicKey()
    {
        if (null === $this->_api_key_private) {
            return $this->generateRandomApiKey()->getApiKeyPublic();
        }

        return sha1($this->_created->format(\DateTime::ATOM) . $this->_api_key_private);
    }
private function generateApiPublicKey ( ) { if ( null === $ this -> _api_key_private ) { return $ this -> generateRandomApiKey ( ) -> getApiKeyPublic ( ) ; } return sha1 ( $ this -> _created -> format ( \ DateTime :: ATOM ) . $ this -> _api_key_private ) ; }
Generate an REST api public key based on the private key
@return String Rest api public key
Generate an REST api public key based on the private key