AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::cryptoInterfaces::test::MockDigest Class Reference

#include <MockDigest.h>

Inheritance diagram for alexaClientSDK::cryptoInterfaces::test::MockDigest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::cryptoInterfaces::test::MockDigest:
Collaboration graph
[legend]

Public Member Functions

 MOCK_NOEXCEPT_METHOD1 (process, bool(const DataBlock &))
 
 MOCK_NOEXCEPT_METHOD2 (process, bool(const DataBlock::const_iterator, const DataBlock::const_iterator))
 
 MOCK_NOEXCEPT_METHOD1 (processByte, bool(unsigned char))
 
 MOCK_NOEXCEPT_METHOD1 (processUInt8, bool(uint8_t))
 
 MOCK_NOEXCEPT_METHOD1 (processUInt16, bool(uint16_t))
 
 MOCK_NOEXCEPT_METHOD1 (processUInt32, bool(uint32_t))
 
 MOCK_NOEXCEPT_METHOD1 (processUInt64, bool(uint64_t))
 
 MOCK_NOEXCEPT_METHOD1 (processString, bool(const std::string &))
 
 MOCK_NOEXCEPT_METHOD1 (finalize, bool(DataBlock &))
 
 MOCK_NOEXCEPT_METHOD0 (reset, bool())
 
- Public Member Functions inherited from alexaClientSDK::cryptoInterfaces::DigestInterface
virtual ~DigestInterface () noexcept=default
 Default destructor. More...
 
virtual bool process (const DataBlock &dataIn) noexcept=0
 Updates digest with a data block. More...
 
virtual bool process (DataBlock::const_iterator begin, DataBlock::const_iterator end) noexcept=0
 Updates digest with a data block range. More...
 
virtual bool processByte (unsigned char value) noexcept=0
 Updates digest with a byte value. More...
 
virtual bool processUInt8 (uint8_t value) noexcept=0
 Updates digest with uint8_t value. More...
 
virtual bool processUInt16 (uint16_t value) noexcept=0
 Updates digest with uint16_t integer value. More...
 
virtual bool processUInt32 (uint32_t value) noexcept=0
 Updates digest with uint32_t integer value. More...
 
virtual bool processUInt64 (uint64_t value) noexcept=0
 Updates digest with uint64_t integer value. More...
 
virtual bool processString (const std::string &value) noexcept=0
 Updates digest with string value. More...
 
virtual bool finalize (DataBlock &dataOut) noexcept=0
 Finishes digest computation and produces the result. More...
 
virtual bool reset () noexcept=0
 Resets the digest. More...
 

Additional Inherited Members

- Public Types inherited from alexaClientSDK::cryptoInterfaces::DigestInterface
typedef std::vector< unsigned char > DataBlock
 Data block type. This type represents a byte array. More...
 

Detailed Description

Mock class for DigestInterface.

Member Function Documentation

◆ MOCK_NOEXCEPT_METHOD0()

alexaClientSDK::cryptoInterfaces::test::MockDigest::MOCK_NOEXCEPT_METHOD0 ( reset  ,
bool()   
)

◆ MOCK_NOEXCEPT_METHOD1() [1/8]

alexaClientSDK::cryptoInterfaces::test::MockDigest::MOCK_NOEXCEPT_METHOD1 ( process  ,
bool(const DataBlock &)   
)

◆ MOCK_NOEXCEPT_METHOD1() [2/8]

alexaClientSDK::cryptoInterfaces::test::MockDigest::MOCK_NOEXCEPT_METHOD1 ( processByte  ,
bool(unsigned char)   
)

◆ MOCK_NOEXCEPT_METHOD1() [3/8]

alexaClientSDK::cryptoInterfaces::test::MockDigest::MOCK_NOEXCEPT_METHOD1 ( processUInt8  ,
bool(uint8_t)   
)

◆ MOCK_NOEXCEPT_METHOD1() [4/8]

alexaClientSDK::cryptoInterfaces::test::MockDigest::MOCK_NOEXCEPT_METHOD1 ( processUInt16  ,
bool(uint16_t)   
)

◆ MOCK_NOEXCEPT_METHOD1() [5/8]

alexaClientSDK::cryptoInterfaces::test::MockDigest::MOCK_NOEXCEPT_METHOD1 ( processUInt32  ,
bool(uint32_t)   
)

◆ MOCK_NOEXCEPT_METHOD1() [6/8]

alexaClientSDK::cryptoInterfaces::test::MockDigest::MOCK_NOEXCEPT_METHOD1 ( processUInt64  ,
bool(uint64_t)   
)

◆ MOCK_NOEXCEPT_METHOD1() [7/8]

alexaClientSDK::cryptoInterfaces::test::MockDigest::MOCK_NOEXCEPT_METHOD1 ( processString  ,
bool(const std::string &)   
)

◆ MOCK_NOEXCEPT_METHOD1() [8/8]

alexaClientSDK::cryptoInterfaces::test::MockDigest::MOCK_NOEXCEPT_METHOD1 ( finalize  ,
bool(DataBlock &)   
)

◆ MOCK_NOEXCEPT_METHOD2()

alexaClientSDK::cryptoInterfaces::test::MockDigest::MOCK_NOEXCEPT_METHOD2 ( process  ,
bool(const DataBlock::const_iterator, const DataBlock::const_iterator)   
)

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0