roundcubemail/plugins/enigma/lib/enigma_engine.php
function list_keys($pattern = '')
    {
        $this->load_pgp_driver();
        $result = $this->pgp_driver->list_keys($pattern);

        if ($result instanceof enigma_error) {
            self::raise_error($result, __LINE__);
        }

        return $result;
    }
function list_keys($pattern = '')
    {
        $this->load_pgp_driver();
        $result = $this->pgp_driver->list_keys($pattern);

        if ($result instanceof enigma_error) {
            self::raise_error($result, __LINE__);
        }

        return $result;
    }
function list_keys ( $ pattern = '' ) { $ this -> load_pgp_driver ( ) ; $ result = $ this -> pgp_driver -> list_keys ( $ pattern ) ; if ( $ result instanceof enigma_error ) { self :: raise_error ( $ result , __LINE__ ) ; } return $ result ; }
PGP keys listing.

@param mixed Key ID/Name pattern

@return mixed Array of keys or enigma_error
PGP keys listing .