NAME

OpenCA::DBIS - Perl Certificates DBI Extention.

SYNOPSIS

use OpenCA::DBIS;

DESCRIPTION

Attention this is not a documentation. Only dummy from OpenCA::DBI alpha!!!

Attention if you are using any database related private functions at yourself then you have to use the following method:

Block: { doConnect doQuery until the first returncode is -1 then doRollback doDisconnect if never do Qery fails then doCommit if returnvalue is -1 then doRollback doDisconnect else doDisconnect } you can repeat this block so often as you want until the first time doConnect returns -1. So long this not happens you can try to get a successful transaction.

Sorry, no documentation available at the moment. Please take a look at the prova.pl program you find in main directory of the package.

Here there is a list of the current available functions. Where there is (*) mark, the function is to be considered private and not public.

       new {};
               build a new DBI object;

       getIndex {};
               empty; only for compatibility with OpenCA::DB

       saveIndex {};
               empty; only for compatibility with OpenCA::DB

       initDB {};
               initialize the DB structure;

       operateDB {*};
               handle the direct DB and SQL-stuff for initDB

       getReferences {};
               empty; only for compatibility with OpenCA::DB

       getBaseType {};
               get Base datatye given a generic one ( i.e. from PENDING_                                    REQUEST to REQUEST);

       getSearchAttributes (*) {};
               get a list of attributes for the search facility;

       storeItem {};
               store a given object (OpenCA::XXXX);
               this is where I'm actually working on;

       getItem {};
               retrieve an object given the serial number;

       getNextItem {};
               get next object (or serial) given a serial;

       getPrevItem {};

       deleteItem {};

       elements {};
               returns number of elements of a given DATATYPE;

       rows {};
               return number of elements matching a search;

       searchItem {};
               returns objects/serials matching the search on generic
               datatypes (i.e. CERTIFICATE, REQUEST);

       searchItemDB (*) {};
               returns objects/serials matching the search on exact
               datatypes (i.e. VALID_CERTIFICATE, PENDING_REQUEST);                          
       getTimeString {};
               not currently used;

AUTHOR

Michael Bell <michael.bell@web.de>

SEE ALSO

OpenCA::OpenSSL, OpenCA::X509, OpenCA::CRL, OpenCA::REQ, OpenCA::TRIStateCGI, OpenCA::Configuration, OpenCA::Tools