16 #ifndef ACSDK_CRYPTOINTERFACES_TEST_MOCKDIGEST_H_ 17 #define ACSDK_CRYPTOINTERFACES_TEST_MOCKDIGEST_H_ 23 namespace cryptoInterfaces {
47 #endif // ACSDK_CRYPTOINTERFACES_TEST_MOCKDIGEST_H_ MOCK_NOEXCEPT_METHOD2(process, bool(const DataBlock::const_iterator, const DataBlock::const_iterator))
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: AmdMetricWrapperTest.cpp:24
::std::string string
Definition: gtest-port.h:1097
virtual bool reset() noexcept=0
Resets the digest.
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.
MOCK_NOEXCEPT_METHOD0(reset, bool())
virtual bool processUInt16(uint16_t value) noexcept=0
Updates digest with uint16_t integer value.
MOCK_NOEXCEPT_METHOD1(process, bool(const DataBlock &))
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Digest computation interface.
Definition: DigestInterface.h:52
virtual bool processUInt64(uint64_t value) noexcept=0
Updates digest with uint64_t integer value.
Definition: MockDigest.h:29
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.