view ui/certificatelist.cpp @ 7:992c0ec57660

Add unit tests make CertificateList work.
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 12 Feb 2014 16:52:27 +0000
parents 9849250f50f2
children 2ad9a96518e3
line wrap: on
line source
#include "certificatelist.h"

#include <QDebug>

CertificateList::CertificateList(const char *fileName)
{
    char *data = NULL;
    size_t size = 0;

    mStatus = readAndVerifyList(fileName, &data, &size);

    if (isValid()) {
        mFileContent = QByteArray::fromRawData(data, size);
    }
}

http://wald.intevation.org/projects/trustbridge/