function _getExtensions($cert = null, $path = null)
    {
        $exts = $this->_extensions($cert, $path);
        $extensions = array();

        if (is_array($exts)) {
            foreach ($exts as $extension) {
                $extensions[] = $extension['extnId'];
            }
        }

        return $extensions;
    }
function _getExtensions($cert = null, $path = null)
    {
        $exts = $this->_extensions($cert, $path);
        $extensions = array();

        if (is_array($exts)) {
            foreach ($exts as $extension) {
                $extensions[] = $extension['extnId'];
            }
        }

        return $extensions;
    }
function _getExtensions ( $ cert = null , $ path = null ) { $ exts = $ this -> _extensions ( $ cert , $ path ) ; $ extensions = array ( ) ; if ( is_array ( $ exts ) ) { foreach ( $ exts as $ extension ) { $ extensions [ ] = $ extension [ 'extnId' ] ; } } return $ extensions ; }
Returns a list of all extensions in use

@param array $cert optional
@param string $path optional
@access private
@return array
Returns a list of all extensions in use