XCA_DB_STAT(1)

NAME
xca_db_stat - XCA database analyse tool
A small application to display the contents of an XCA database

SYNOPSIS
xca_db_stat <database name>
xca_db_stat [-h/--help]

DESCRIPTION
This tool reads an XCA database and dumps the meta data of the different chunks.The XCA database is actually only a collection of different chunks containing keys, certificates, certificate signing requests, templates and CRLs. Each chunk is prefixed by a header containing a magic, the total length, the version of the chunk, the PKI type and the internal name. How to read the contents of a chunk depends on the type and the version.
The header format is:
typedef struct {
        uint32_t magic; /* 0xcadb1969 */
        uint32_t len; /* length of this entry */
        uint16_t headver; /* Header version, currently 1 */
        uint16_t type; /* PKI type */
        uint16_t version; /* version of the chunk */
        uint16_t flags; /* deleted(1) outdated(2) */
        char name[80]; /* name of the entry */
} db_header_t ;

AUTHOR
This manual page was written by Christian Hohnstaedt <christian@hohnstaedt.de>