16 #ifndef ACSDK_CRYPTOINTERFACES_TEST_MOCKCRYPTOFACTORY_H_ 17 #define ACSDK_CRYPTOINTERFACES_TEST_MOCKCRYPTOFACTORY_H_ 19 #include <unordered_map> 32 namespace cryptoInterfaces {
50 #endif // ACSDK_CRYPTOINTERFACES_TEST_MOCKCRYPTOFACTORY_H_ DigestType
Enumeration of all supported digest algorithms.
Definition: DigestType.h:31
MOCK_NOEXCEPT_METHOD1(createEncoder, std::unique_ptr< CryptoCodecInterface >(AlgorithmType))
Definition: AmdMetricWrapperTest.cpp:24
virtual std::shared_ptr< KeyFactoryInterface > getKeyFactory() noexcept=0
Provides key factory.
virtual std::unique_ptr< CryptoCodecInterface > createEncoder(AlgorithmType type) noexcept=0
Create new encoder cipher.
MOCK_NOEXCEPT_METHOD0(getKeyFactory, std::shared_ptr< KeyFactoryInterface >())
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: MockCryptoFactory.h:38
virtual std::unique_ptr< DigestInterface > createDigest(DigestType type) noexcept=0
Create new hash function.
Crypto API factory interface.
Definition: CryptoFactoryInterface.h:42
AlgorithmType
Enumeration of all supported encryption protocols.
Definition: AlgorithmType.h:31
virtual std::unique_ptr< CryptoCodecInterface > createDecoder(AlgorithmType type) noexcept=0
Create new decodec cipher.