|
LibreOffice Module onlineupdate (master) 1
|
#include <string.h>#include <stdlib.h>#include <fcntl.h>#include "bzlib.h"#include "archivereader.h"#include "errors.h"#include "nsVersionComparator.h"#include <sys/types.h>Go to the source code of this file.
Functions | |
| template<uint32_t SIZE> | |
| int | VerifyLoadedCert (MarFile *archive, const uint8_t(&certData)[SIZE]) |
| Performs a verification on the opened MAR file with the passed in certificate name ID and type ID. More... | |
Variables | |
| static int | inbuf_size = 262144 |
| static int | outbuf_size = 262144 |
| static char * | inbuf = nullptr |
| static char * | outbuf = nullptr |
Performs a verification on the opened MAR file with the passed in certificate name ID and type ID.
| archive | The MAR file to verify the signature on. |
| certData | The certificate data. |
Definition at line 55 of file archivereader.cxx.
References CERT_VERIFY_ERROR, mar_verify_signatures(), OK, size, and SIZE.
Referenced by ArchiveReader::VerifySignature().
|
static |
Definition at line 42 of file archivereader.cxx.
Referenced by ArchiveReader::Close(), ArchiveReader::ExtractItemToStream(), and ArchiveReader::Open().
|
static |
Definition at line 40 of file archivereader.cxx.
Referenced by ArchiveReader::ExtractItemToStream(), and ArchiveReader::Open().
|
static |
Definition at line 43 of file archivereader.cxx.
Referenced by ArchiveReader::Close(), ArchiveReader::ExtractItemToStream(), and ArchiveReader::Open().
|
static |
Definition at line 41 of file archivereader.cxx.
Referenced by ArchiveReader::ExtractItemToStream(), and ArchiveReader::Open().