RDK Documentation (Open Sourced RDK Components)
AampOcdmBasicSessionAdapter.h
1
/**
2
* @file AampOcdmBasicSessionAdapter.cpp
3
* @brief Handles operations on OCDM session
4
*/
5
6
7
#include "
opencdmsessionadapter.h
"
8
#include "
AampDrmHelper.h
"
9
10
/**
11
* @class AAMPOCDMBasicSessionAdapter
12
* @brief OCDM session Adapter
13
*/
14
class
AAMPOCDMBasicSessionAdapter
:
public
AAMPOCDMSessionAdapter
15
{
16
public
:
17
AAMPOCDMBasicSessionAdapter
(
AampLogManager
*logObj, std::shared_ptr<AampDrmHelper> drmHelper,
AampDrmCallbacks
*drmCallbacks)
18
:
AAMPOCDMSessionAdapter
(logObj, drmHelper, drmCallbacks)
19
{};
20
~
AAMPOCDMBasicSessionAdapter
() {};
21
22
int
decrypt
(
const
uint8_t *f_pbIV, uint32_t f_cbIV,
const
uint8_t *payloadData, uint32_t payloadDataSize, uint8_t **ppOpaqueData);
23
};
AampDrmCallbacks
DRM callback interface.
Definition:
AampDrmCallbacks.h:34
AampDrmHelper.h
Implented DRM helper functionalities.
AAMPOCDMBasicSessionAdapter
OCDM session Adapter.
Definition:
AampOcdmBasicSessionAdapter.h:14
AampLogManager
AampLogManager Class.
Definition:
AampLogManager.h:150
AAMPOCDMBasicSessionAdapter::decrypt
int decrypt(const uint8_t *f_pbIV, uint32_t f_cbIV, const uint8_t *payloadData, uint32_t payloadDataSize, uint8_t **ppOpaqueData)
Function to decrypt stream buffer.
Definition:
AampOcdmBasicSessionAdapter.cpp:9
AAMPOCDMSessionAdapter
Open CDM DRM session.
Definition:
opencdmsessionadapter.h:82
opencdmsessionadapter.h
Handles operation with OCDM session to handle DRM License data.
components
generic
aamp
drm
AampOcdmBasicSessionAdapter.h
Generated on Thu Feb 9 2023 06:32:27 for RDK Documentation (Open Sourced RDK Components) by
1.8.17