public function add($algoname, $blob, $overwrite = false, array $attributes = array())
    {
        return ssh2_publickey_add($this->getResource(), $algoname, $blob, $overwrite, $attributes);
    }
public function add($algoname, $blob, $overwrite = false, array $attributes = array())
    {
        return ssh2_publickey_add($this->getResource(), $algoname, $blob, $overwrite, $attributes);
    }
public function add ( $ algoname , $ blob , $ overwrite = false , array $ attributes = array ( ) ) { return ssh2_publickey_add ( $ this -> getResource ( ) , $ algoname , $ blob , $ overwrite , $ attributes ) ; }
Adds an authorized publickey

@param  string  $algoname   The algorithm (e.g: ssh-dss, ssh-rsa)
@param  string  $blob       The blob as binary data
@param  Boolean $overwrite  Whether to overwrite the key if it already
exist
@param  array   $attributes An associative array of attributes to assign
to the publickey. To mark an attribute as
mandatory, precede its name with an asterisk.
If the server is unable to support an
attribute marked mandatory, it will abort
the add process.

@return Boolean TRUE on success, or FALSE on failure
Adds an authorized publickey