19 ValidatedFile(
const char *
const fileName) :
32 this->fileName.toChar(),
33 this->hashFileName.toChar(),
44 this->fileName.toChar(),
45 this->hashFileName.toChar(),
54 return this->fileName;
58 getHashFileName()
const
60 return this->hashFileName;
66 return this->hashBuffer;
A container class for holding a hash buffer.
static void addFileExtension(const Fw::StringBase &baseName, Fw::StringBase &extendedName)
Status createValidation(const char *fileName, const char *hash, Utils::HashBuffer &hashBuffer)
Status validate(const char *fileName, const char *hashFileName, Utils::HashBuffer &hashBuffer)
Validate the contents of a file 'fileName' against its hash.