AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MockCryptoFactory.h>
Public Member Functions | |
MOCK_METHOD1 (_createEncoder, std::unique_ptr< CryptoCodecInterface >(AlgorithmType)) | |
MOCK_METHOD1 (_createDecoder, std::unique_ptr< CryptoCodecInterface >(AlgorithmType)) | |
MOCK_METHOD1 (_createDigest, std::unique_ptr< DigestInterface >(DigestType)) | |
MOCK_METHOD0 (_getKeyFactory, std::shared_ptr< KeyFactoryInterface >()) | |
std::unique_ptr< CryptoCodecInterface > | createEncoder (AlgorithmType type) noexcept override |
Create new encoder cipher. More... | |
std::unique_ptr< CryptoCodecInterface > | createDecoder (AlgorithmType type) noexcept override |
Create new decodec cipher. More... | |
std::unique_ptr< DigestInterface > | createDigest (DigestType type) noexcept override |
Create new hash function. More... | |
std::shared_ptr< KeyFactoryInterface > | getKeyFactory () noexcept override |
Provides key factory. More... | |
Public Member Functions inherited from alexaClientSDK::acsdkCryptoInterfaces::CryptoFactoryInterface | |
virtual | ~CryptoFactoryInterface () noexcept=default |
Default destructor. More... | |
Mock class for CryptoFactoryInterface
.
|
inlineoverridevirtualnoexcept |
Create new decodec cipher.
Creates a new decoder instance for a given algorithm type to decrypt data.
[in] | type | Decryption algorithm type. |
Implements alexaClientSDK::acsdkCryptoInterfaces::CryptoFactoryInterface.
|
inlineoverridevirtualnoexcept |
Create new hash function.
Creates a new digest instance for a given digest type.
[in] | type | Digest type. |
Implements alexaClientSDK::acsdkCryptoInterfaces::CryptoFactoryInterface.
|
inlineoverridevirtualnoexcept |
Create new encoder cipher.
Creates a new encoder instance for a given algorithm type to encrypt data.
[in] | type | Encryption algorithm type. |
Implements alexaClientSDK::acsdkCryptoInterfaces::CryptoFactoryInterface.
|
inlineoverridevirtualnoexcept |
Provides key factory.
Provides a key factory interface. Key factory allows creation of random keys and initialization vectors.
Implements alexaClientSDK::acsdkCryptoInterfaces::CryptoFactoryInterface.
alexaClientSDK::acsdkCryptoInterfaces::test::MockCryptoFactory::MOCK_METHOD0 | ( | _getKeyFactory | , |
std::shared_ptr< KeyFactoryInterface > | () | ||
) |
alexaClientSDK::acsdkCryptoInterfaces::test::MockCryptoFactory::MOCK_METHOD1 | ( | _createDecoder | , |
std::unique_ptr< CryptoCodecInterface > | AlgorithmType | ||
) |
alexaClientSDK::acsdkCryptoInterfaces::test::MockCryptoFactory::MOCK_METHOD1 | ( | _createDigest | , |
std::unique_ptr< DigestInterface > | DigestType | ||
) |
alexaClientSDK::acsdkCryptoInterfaces::test::MockCryptoFactory::MOCK_METHOD1 | ( | _createEncoder | , |
std::unique_ptr< CryptoCodecInterface > | AlgorithmType | ||
) |
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0