16 #ifndef ACSDK_CRYPTOINTERFACES_KEYFACTORYINTERFACE_H_ 17 #define ACSDK_CRYPTOINTERFACES_KEYFACTORYINTERFACE_H_ 24 namespace cryptoInterfaces {
41 typedef std::vector<unsigned char>
Key;
45 typedef std::vector<unsigned char>
IV;
80 #endif // ACSDK_CRYPTOINTERFACES_KEYFACTORYINTERFACE_H_ 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
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.
virtual ~KeyFactoryInterface() noexcept=default
Default destructor.
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
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
default
Definition: upload.py:394
static const std::string key
The database key to be used by the protocol given the METADATA object.
Definition: SharedAVSSettingProtocolTest.cpp:58