roundcubemail/plugins/enigma/lib/enigma_driver_gnupg.php
public function get_key($keyid)
    {
        $list = $this->list_keys($keyid);

        if (is_array($list)) {
            return $list[key($list)];
        }

        // error
        return $list;
    }
public function get_key($keyid)
    {
        $list = $this->list_keys($keyid);

        if (is_array($list)) {
            return $list[key($list)];
        }

        // error
        return $list;
    }
public function get_key ( $ keyid ) { $ list = $ this -> list_keys ( $ keyid ) ; if ( is_array ( $ list ) ) { return $ list [ key ( $ list ) ] ; } // error return $ list ; }
Single key information.

@param string Key ID, user ID or fingerprint

@return mixed Key (enigma_key) object or enigma_error
Single key information .