Tag Parser
6.4.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
The TestFile struct holds the path (relative to testfile dir) and checksum of a test file. More...
Public Member Functions | |
Sha256Checksum | computeSha256Sum () const |
Computes the SHA-256 checksums for the file using OpenSSL. More... | |
void | verifyChecksum () const |
Checks whether the expected SHA-256 checksum matches the actual checksum. More... | |
Public Attributes | |
const char * | path |
Sha256Checksum | expectedSha256sum |
The TestFile struct holds the path (relative to testfile dir) and checksum of a test file.
Definition at line 54 of file testfilecheck.cpp.
Sha256Checksum TestFile::computeSha256Sum | ( | ) | const |
Computes the SHA-256 checksums for the file using OpenSSL.
Definition at line 87 of file testfilecheck.cpp.
void TestFile::verifyChecksum | ( | ) | const |
Checks whether the expected SHA-256 checksum matches the actual checksum.
Definition at line 134 of file testfilecheck.cpp.
Sha256Checksum TestFile::expectedSha256sum |
Definition at line 57 of file testfilecheck.cpp.
const char* TestFile::path |
Definition at line 56 of file testfilecheck.cpp.