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

#include <MockKeyFactory.h>

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

Public Member Functions

 MOCK_NOEXCEPT_METHOD2 (generateKey, bool(AlgorithmType type, Key &key))
 
 MOCK_NOEXCEPT_METHOD2 (generateIV, bool(AlgorithmType type, IV &iv))
 
- Public Member Functions inherited from alexaClientSDK::cryptoInterfaces::KeyFactoryInterface
virtual ~KeyFactoryInterface () noexcept=default
 Default destructor. More...
 
virtual bool generateKey (AlgorithmType type, Key &key) noexcept=0
 Generates a new key. More...
 
virtual bool generateIV (AlgorithmType type, IV &iv) noexcept=0
 Generates a new initialization vector. More...
 

Additional Inherited Members

- Public Types inherited from alexaClientSDK::cryptoInterfaces::KeyFactoryInterface
typedef std::vector< unsigned char > Key
 Key data. Key is a sequence of bytes, and the size depends on an encryption algorithm. More...
 
typedef std::vector< unsigned char > IV
 Initialization vector type. IV is a sequence of bytes, and the size depends on a encryption algorithm. More...
 

Detailed Description

Mock class for KeyFactoryInterface.

Member Function Documentation

◆ MOCK_NOEXCEPT_METHOD2() [1/2]

alexaClientSDK::cryptoInterfaces::test::MockKeyFactory::MOCK_NOEXCEPT_METHOD2 ( generateKey  ,
bool(AlgorithmType type, Key &key)   
)

◆ MOCK_NOEXCEPT_METHOD2() [2/2]

alexaClientSDK::cryptoInterfaces::test::MockKeyFactory::MOCK_NOEXCEPT_METHOD2 ( generateIV  ,
bool(AlgorithmType type, IV &iv)   
)

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