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::MockCryptoFactory Class Reference

#include <MockCryptoFactory.h>

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

Public Member Functions

 MOCK_NOEXCEPT_METHOD1 (createEncoder, std::unique_ptr< CryptoCodecInterface >(AlgorithmType))
 
 MOCK_NOEXCEPT_METHOD1 (createDecoder, std::unique_ptr< CryptoCodecInterface >(AlgorithmType))
 
 MOCK_NOEXCEPT_METHOD1 (createDigest, std::unique_ptr< DigestInterface >(DigestType))
 
 MOCK_NOEXCEPT_METHOD0 (getKeyFactory, std::shared_ptr< KeyFactoryInterface >())
 
- Public Member Functions inherited from alexaClientSDK::cryptoInterfaces::CryptoFactoryInterface
virtual ~CryptoFactoryInterface () noexcept=default
 Default destructor. More...
 
virtual std::unique_ptr< CryptoCodecInterfacecreateEncoder (AlgorithmType type) noexcept=0
 Create new encoder cipher. More...
 
virtual std::unique_ptr< CryptoCodecInterfacecreateDecoder (AlgorithmType type) noexcept=0
 Create new decodec cipher. More...
 
virtual std::unique_ptr< DigestInterfacecreateDigest (DigestType type) noexcept=0
 Create new hash function. More...
 
virtual std::shared_ptr< KeyFactoryInterfacegetKeyFactory () noexcept=0
 Provides key factory. More...
 

Detailed Description

Mock class for CryptoFactoryInterface.

Member Function Documentation

◆ MOCK_NOEXCEPT_METHOD0()

alexaClientSDK::cryptoInterfaces::test::MockCryptoFactory::MOCK_NOEXCEPT_METHOD0 ( getKeyFactory  ,
std::shared_ptr< KeyFactoryInterface () 
)

◆ MOCK_NOEXCEPT_METHOD1() [1/3]

alexaClientSDK::cryptoInterfaces::test::MockCryptoFactory::MOCK_NOEXCEPT_METHOD1 ( createEncoder  ,
std::unique_ptr< CryptoCodecInterface AlgorithmType 
)

◆ MOCK_NOEXCEPT_METHOD1() [2/3]

alexaClientSDK::cryptoInterfaces::test::MockCryptoFactory::MOCK_NOEXCEPT_METHOD1 ( createDecoder  ,
std::unique_ptr< CryptoCodecInterface AlgorithmType 
)

◆ MOCK_NOEXCEPT_METHOD1() [3/3]

alexaClientSDK::cryptoInterfaces::test::MockCryptoFactory::MOCK_NOEXCEPT_METHOD1 ( createDigest  ,
std::unique_ptr< DigestInterface DigestType 
)

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