AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Cryptographic Functions for ACSDK. More...
Namespaces | |
alexaClientSDK::acsdkCryptoInterfaces | |
Cryptographic Types and Interfaces. | |
alexaClientSDK::acsdkCryptoInterfaces::test | |
Test stubs and mocks for Cryptography API. | |
Classes | |
class | alexaClientSDK::acsdkCryptoInterfaces::CryptoCodecInterface |
Crypto codec (cipher) interface. More... | |
class | alexaClientSDK::acsdkCryptoInterfaces::CryptoFactoryInterface |
Crypto API factory interface. More... | |
class | alexaClientSDK::acsdkCryptoInterfaces::DigestInterface |
Digest computation interface. More... | |
class | alexaClientSDK::acsdkCryptoInterfaces::KeyFactoryInterface |
Key factory interface. More... | |
class | alexaClientSDK::acsdkCryptoInterfaces::KeyStoreInterface |
Key Store Interface. More... | |
Enumerations | |
enum | alexaClientSDK::acsdkCryptoInterfaces::AlgorithmType { alexaClientSDK::acsdkCryptoInterfaces::AlgorithmType::AES_256_CBC = 1, alexaClientSDK::acsdkCryptoInterfaces::AlgorithmType::AES_256_CBC_PAD = 2, alexaClientSDK::acsdkCryptoInterfaces::AlgorithmType::AES_128_CBC = 3, alexaClientSDK::acsdkCryptoInterfaces::AlgorithmType::AES_128_CBC_PAD = 4, alexaClientSDK::acsdkCryptoInterfaces::AlgorithmType::AES_256_GCM = 5, alexaClientSDK::acsdkCryptoInterfaces::AlgorithmType::AES_128_GCM = 6 } |
Enumeration of all supported encryption protocols. More... | |
enum | alexaClientSDK::acsdkCryptoInterfaces::DigestType { alexaClientSDK::acsdkCryptoInterfaces::DigestType::SHA_256 = 1 } |
Enumeration of all supported digest algorithms. More... | |
Functions | |
std::ostream & | alexaClientSDK::acsdkCryptoInterfaces::operator<< (std::ostream &out, AlgorithmType value) |
Helper method to write algorithm type as a literal constant. More... | |
std::ostream & | alexaClientSDK::acsdkCryptoInterfaces::operator<< (std::ostream &out, DigestType value) |
Helper method to write digest type as a literal constant. More... | |
Cryptographic Functions for ACSDK.
This module provides APIs for encrypting and decrypting data, and for computing secure digests.
There are two ways for data encryption and decryption: through user-space cryptographic functions, accessible through alexaClientSDK::acsdkCryptoInterfaces::CryptoFactoryInterface and through hardware security module (HSM) accessible through alexaClientSDK::acsdkCryptoInterfaces::KeyStoreInterface.
When using alexaClientSDK::acsdkCryptoInterfaces::CryptoFactoryInterface user can generate keys and initialization vectors through alexaClientSDK::acsdkCryptoInterfaces::KeyFactoryInterface to use with cryptographic functions. When working with alexaClientSDK::acsdkCryptoInterfaces::KeyStoreInterface, keys must be pre-provisioned by device manufacturer and those keys can be used through references (aliases).
Enumeration of all supported encryption protocols.
This enumeration defines cipher type, key size, mode of operation, and padding.
std::ostream & alexaClientSDK::acsdkCryptoInterfaces::operator<< | ( | std::ostream & | out, |
AlgorithmType | value | ||
) |
Helper method to write algorithm type as a literal constant.
This method enables logging functions to accept algorithm type as a value.
[in] | out | Output stream. |
[in] | value | Value to write. |
std::ostream & alexaClientSDK::acsdkCryptoInterfaces::operator<< | ( | std::ostream & | out, |
DigestType | value | ||
) |
Helper method to write digest type as a literal constant.
This method enables logging functions to accept digest type as a value.
[in] | out | Output stream. |
[in] | value | Value to write. |
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0