AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Macros | Typedefs | Functions | Variables
ContentDecrypter.cpp File Reference
#include "PlaylistParser/ContentDecrypter.h"
#include <iomanip>
#include <openssl/evp.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/WavUtils.h>
#include "PlaylistParser/FFMpegInputBuffer.h"
Include dependency graph for ContentDecrypter.cpp:

Classes

struct  alexaClientSDK::playlistParser::EVP_CIPHER_CTX_Deleter
 Unique ptr to auto release EVP_CIPHER_CTX. More...
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::playlistParser
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Typedefs

using alexaClientSDK::playlistParser::EVP_CIPHER_CTX_free_ptr = std::unique_ptr< EVP_CIPHER_CTX, EVP_CIPHER_CTX_Deleter >
 

Functions

static const std::string alexaClientSDK::playlistParser::TAG ("ContentDecrypter")
 String to identify log entries originating from this file. More...
 
static const std::chrono::milliseconds alexaClientSDK::playlistParser::WRITE_TO_STREAM_TIMEOUT (100)
 Timeout for write to stream. More...
 

Variables

static const int alexaClientSDK::playlistParser::AES_BLOCK_SIZE = 16
 Block size of AES encrypted content. More...
 
static const int alexaClientSDK::playlistParser::IV_HEX_STRING_LENGTH = 2 * AES_BLOCK_SIZE
 Length of initilization vector as hex string. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0