RDK Documentation (Open Sourced RDK Components)
AampOcdmBasicSessionAdapter.h
1 /**
2  * @file AampOcdmBasicSessionAdapter.cpp
3  * @brief Handles operations on OCDM session
4  */
5 
6 
8 #include "AampDrmHelper.h"
9 
10 /**
11  * @class AAMPOCDMBasicSessionAdapter
12  * @brief OCDM session Adapter
13  */
15 {
16 public:
17  AAMPOCDMBasicSessionAdapter(AampLogManager *logObj, std::shared_ptr<AampDrmHelper> drmHelper, AampDrmCallbacks *drmCallbacks)
18  : AAMPOCDMSessionAdapter(logObj, drmHelper, drmCallbacks)
19  {};
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.