![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Crypto API factory interface. More...
#include <CryptoFactoryInterface.h>
Public Member Functions | |
virtual | ~CryptoFactoryInterface () noexcept=default |
Default destructor. More... | |
virtual std::unique_ptr< CryptoCodecInterface > | createEncoder (AlgorithmType type) noexcept=0 |
Create new encoder cipher. More... | |
virtual std::unique_ptr< CryptoCodecInterface > | createDecoder (AlgorithmType type) noexcept=0 |
Create new decodec cipher. More... | |
virtual std::unique_ptr< DigestInterface > | createDigest (DigestType type) noexcept=0 |
Create new hash function. More... | |
virtual std::shared_ptr< KeyFactoryInterface > | getKeyFactory () noexcept=0 |
Provides key factory. More... | |
Crypto API factory interface.
This interface allows construction of platform-specific crypto facilities.
This interface is thread safe and can be used concurrently by different threads.
|
virtualdefaultnoexcept |
Default destructor.
|
pure virtualnoexcept |
Create new decodec cipher.
Creates a new decoder instance for a given algorithm type to decrypt data.
[in] | type | Decryption algorithm type. |
|
pure virtualnoexcept |
Create new hash function.
Creates a new digest instance for a given digest type.
[in] | type | Digest type. |
|
pure virtualnoexcept |
Create new encoder cipher.
Creates a new encoder instance for a given algorithm type to encrypt data.
[in] | type | Encryption algorithm type. |
|
pure virtualnoexcept |
Provides key factory.
Provides a key factory interface. Key factory allows creation of random keys and initialization vectors.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0