|
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Go to the documentation of this file.
16 #ifndef ACSDKCRYPTO_PRIVATE_OPENSSLKEYFACTORY_H_
17 #define ACSDKCRYPTO_PRIVATE_OPENSSLKEYFACTORY_H_
24 namespace acsdkCrypto {
41 static std::shared_ptr<KeyFactoryInterface>
create() noexcept;
60 bool generateRandom(std::vector<unsigned char>& data,
int size) noexcept;
66 #endif // ACSDKCRYPTO_PRIVATE_OPENSSLKEYFACTORY_H_
bool generateKey(AlgorithmType type, Key &key) noexcept override
Generates a new key.
Definition: OpenSslKeyFactory.cpp:40
bool generateIV(AlgorithmType type, IV &iv) noexcept override
Generates a new initialization vector.
Definition: OpenSslKeyFactory.cpp:52
static const std::string key
The database key to be used by the protocol given the METADATA object.
Definition: SharedAVSSettingProtocolTest.cpp:58
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
std::vector< unsigned char > Key
Key data. Key is a sequence of bytes, and the size depends on an encryption algorithm.
Definition: KeyFactoryInterface.h:41
Key factory interface.
Definition: KeyFactoryInterface.h:37
Key factory implementation based on OpenSSL.
Definition: OpenSslKeyFactory.h:34
static std::shared_ptr< KeyFactoryInterface > create() noexcept
Factory method.
Definition: OpenSslKeyFactory.cpp:33
std::vector< unsigned char > IV
Initialization vector type. IV is a sequence of bytes, and the size depends on a encryption algorithm...
Definition: KeyFactoryInterface.h:45
AlgorithmType
Enumeration of all supported encryption protocols.
Definition: AlgorithmType.h:31
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0