16 #ifndef ACSDK_CRYPTOINTERFACES_DIGESTINTERFACE_H_ 17 #define ACSDK_CRYPTOINTERFACES_DIGESTINTERFACE_H_ 23 namespace cryptoInterfaces {
76 virtual
bool process(
const DataBlock& dataIn) noexcept = 0;
96 virtual
bool process(DataBlock::const_iterator begin, DataBlock::const_iterator end) noexcept = 0;
108 virtual
bool processByte(
unsigned char value) noexcept = 0;
207 virtual
bool finalize(DataBlock& dataOut) noexcept = 0;
217 virtual
bool reset() noexcept = 0;
223 #endif // ACSDK_CRYPTOINTERFACES_DIGESTINTERFACE_H_ virtual bool finalize(DataBlock &dataOut) noexcept=0
Finishes digest computation and produces the result.
virtual bool processString(const std::string &value) noexcept=0
Updates digest with string value.
Definition: CapabilityConfiguration.h:190
virtual bool reset() noexcept=0
Resets the digest.
virtual ~DigestInterface() noexcept=default
Default destructor.
virtual bool processUInt32(uint32_t value) noexcept=0
Updates digest with uint32_t integer value.
virtual bool process(const DataBlock &dataIn) noexcept=0
Updates digest with a data block.
virtual bool processUInt16(uint16_t value) noexcept=0
Updates digest with uint16_t integer value.
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
const
Definition: upload.py:398
Digest computation interface.
Definition: DigestInterface.h:52
virtual bool processUInt64(uint64_t value) noexcept=0
Updates digest with uint64_t integer value.
default
Definition: upload.py:394
std::vector< unsigned char > DataBlock
Data block type. This type represents a byte array.
Definition: DigestInterface.h:56
virtual bool processByte(unsigned char value) noexcept=0
Updates digest with a byte value.
virtual bool processUInt8(uint8_t value) noexcept=0
Updates digest with uint8_t value.