function _removeExtension($id, $path = null)
    {
        $extensions = &$this->_extensions($this->currentCert, $path);

        if (!is_array($extensions)) {
            return false;
        }

        $result = false;
        foreach ($extensions as $key => $value) {
            if ($value['extnId'] == $id) {
                unset($extensions[$key]);
                $result = true;
            }
        }

        $extensions = array_values($extensions);
        return $result;
    }
function _removeExtension($id, $path = null)
    {
        $extensions = &$this->_extensions($this->currentCert, $path);

        if (!is_array($extensions)) {
            return false;
        }

        $result = false;
        foreach ($extensions as $key => $value) {
            if ($value['extnId'] == $id) {
                unset($extensions[$key]);
                $result = true;
            }
        }

        $extensions = array_values($extensions);
        return $result;
    }
function _removeExtension ( $ id , $ path = null ) { $ extensions = & $ this -> _extensions ( $ this -> currentCert , $ path ) ; if ( ! is_array ( $ extensions ) ) { return false ; } $ result = false ; foreach ( $ extensions as $ key => $ value ) { if ( $ value [ 'extnId' ] == $ id ) { unset ( $ extensions [ $ key ] ) ; $ result = true ; } } $ extensions = array_values ( $ extensions ) ; return $ result ; }
Remove an Extension

@param string $id
@param string $path optional
@access private
@return bool
Remove an Extension