16 #ifndef ACSDK_CRYPTOINTERFACES_TEST_MOCKKEYFACTORY_H_ 17 #define ACSDK_CRYPTOINTERFACES_TEST_MOCKKEYFACTORY_H_ 23 namespace cryptoInterfaces {
39 #endif // ACSDK_CRYPTOINTERFACES_TEST_MOCKKEYFACTORY_H_ MOCK_NOEXCEPT_METHOD2(generateKey, bool(AlgorithmType type, Key &key))
std::vector< unsigned char > Key
Key data. Key is a sequence of bytes, and the size depends on an encryption algorithm.
Definition: KeyFactoryInterface.h:41
Definition: AmdMetricWrapperTest.cpp:24
virtual bool generateKey(AlgorithmType type, Key &key) noexcept=0
Generates a new key.
virtual bool generateIV(AlgorithmType type, IV &iv) noexcept=0
Generates a new initialization vector.
std::vector< unsigned char > IV
Initialization vector type. IV is a sequence of bytes, and the size depends on a encryption algorithm...
Definition: KeyFactoryInterface.h:45
Definition: MockKeyFactory.h:29
Key factory interface.
Definition: KeyFactoryInterface.h:37
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
type
Definition: upload.py:443
AlgorithmType
Enumeration of all supported encryption protocols.
Definition: AlgorithmType.h:31
static const std::string key
The database key to be used by the protocol given the METADATA object.
Definition: SharedAVSSettingProtocolTest.cpp:58