33 this->m_hashFileName.toChar(),
45 this->m_hashFileName.toChar(),
54 return this->m_fileName;
60 return this->m_hashFileName;
66 return this->m_hashBuffer;
const char * toChar() const
const Fw::StringBase & getFileName() const
const Fw::StringBase & getHashFileName() const
Os::ValidateFile::Status validate()
Os::ValidateFile::Status createHashFile()
const Utils::HashBuffer & getHashBuffer() const
ValidatedFile(const char *const fileName)
Construct a validated file.
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.