protected function generateAssociation()
    {
        $this->assoc = array();
        # We use sha1 by default.
        $this->assoc['hash']   = 'sha1';
        $this->assoc['mac']    = $this->shared_secret('sha1');
        $this->assoc['handle'] = $this->assoc_handle();
    }
protected function generateAssociation()
    {
        $this->assoc = array();
        # We use sha1 by default.
        $this->assoc['hash']   = 'sha1';
        $this->assoc['mac']    = $this->shared_secret('sha1');
        $this->assoc['handle'] = $this->assoc_handle();
    }
protected function generateAssociation ( ) { $ this -> assoc = array ( ) ; # We use sha1 by default. $ this -> assoc [ 'hash' ] = 'sha1' ; $ this -> assoc [ 'mac' ] = $ this -> shared_secret ( 'sha1' ) ; $ this -> assoc [ 'handle' ] = $ this -> assoc_handle ( ) ; }
Creates a private association.
Creates a private association .