|
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_OPENSSLCRYPTOFACTORY_H_
17 #define ACSDKCRYPTO_PRIVATE_OPENSSLCRYPTOFACTORY_H_
22 namespace acsdkCrypto {
36 static std::shared_ptr<CryptoFactoryInterface>
create() noexcept;
40 std::unique_ptr<alexaClientSDK::acsdkCryptoInterfaces::CryptoCodecInterface>
createEncoder(
42 std::unique_ptr<alexaClientSDK::acsdkCryptoInterfaces::CryptoCodecInterface>
createDecoder(
44 std::unique_ptr<alexaClientSDK::acsdkCryptoInterfaces::DigestInterface>
createDigest(
46 std::shared_ptr<alexaClientSDK::acsdkCryptoInterfaces::KeyFactoryInterface>
getKeyFactory() noexcept
override;
60 std::shared_ptr<alexaClientSDK::acsdkCryptoInterfaces::KeyFactoryInterface> m_keyFactory;
66 #endif // ACSDKCRYPTO_PRIVATE_OPENSSLCRYPTOFACTORY_H_
std::unique_ptr< alexaClientSDK::acsdkCryptoInterfaces::CryptoCodecInterface > createEncoder(alexaClientSDK::acsdkCryptoInterfaces::AlgorithmType type) noexcept override
Create new encoder cipher.
Definition: OpenSslCryptoFactory.cpp:54
std::shared_ptr< alexaClientSDK::acsdkCryptoInterfaces::KeyFactoryInterface > getKeyFactory() noexcept override
Provides key factory.
Definition: OpenSslCryptoFactory.cpp:66
static std::shared_ptr< CryptoFactoryInterface > create() noexcept
Initializes OpenSSL library and returns factory interface.
Definition: OpenSslCryptoFactory.cpp:31
Cryptography factory implementation based on OpenSSL.
Definition: OpenSslCryptoFactory.h:29
std::unique_ptr< alexaClientSDK::acsdkCryptoInterfaces::DigestInterface > createDigest(alexaClientSDK::acsdkCryptoInterfaces::DigestType type) noexcept override
Create new hash function.
Definition: OpenSslCryptoFactory.cpp:62
DigestType
Enumeration of all supported digest algorithms.
Definition: DigestType.h:31
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Crypto API factory interface.
Definition: CryptoFactoryInterface.h:42
std::unique_ptr< alexaClientSDK::acsdkCryptoInterfaces::CryptoCodecInterface > createDecoder(alexaClientSDK::acsdkCryptoInterfaces::AlgorithmType type) noexcept override
Create new decodec cipher.
Definition: OpenSslCryptoFactory.cpp:58
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