RDK Documentation (Open Sourced RDK Components)
AampMockOpenCdm Class Reference
Collaboration diagram for AampMockOpenCdm:
Collaboration graph

Public Member Functions

 MOCK_METHOD (struct OpenCDMSystem *, opencdm_create_system,(const char keySystem[]))
 
 MOCK_METHOD (OpenCDMError, opencdm_construct_session,(struct OpenCDMSystem *system, const LicenseType licenseType, const char initDataType[], const uint8_t initData[], const uint16_t initDataLength, const uint8_t CDMData[], const uint16_t CDMDataLength, OpenCDMSessionCallbacks *callbacks, void *userData, struct OpenCDMSession **session))
 
 MOCK_METHOD (OpenCDMError, opencdm_destruct_system,(struct OpenCDMSystem *system))
 
 MOCK_METHOD (KeyStatus, opencdm_session_status,(const struct OpenCDMSession *session, const uint8_t keyId[], const uint8_t length))
 
 MOCK_METHOD (OpenCDMError, opencdm_session_update,(struct OpenCDMSession *session, const uint8_t keyMessage[], const uint16_t keyLength))
 
 MOCK_METHOD (OpenCDMError, opencdm_gstreamer_session_decrypt,(struct OpenCDMSession *session, GstBuffer *buffer, GstBuffer *subSample, const uint32_t subSampleCount, GstBuffer *IV, GstBuffer *keyID, uint32_t initWithLast15))
 
 MOCK_METHOD (OpenCDMError, opencdm_session_decrypt,(struct OpenCDMSession *session, uint8_t encrypted[], const uint32_t encryptedLength, const uint8_t *IV, uint16_t IVLength, const uint8_t *keyId, const uint16_t keyIdLength, uint32_t initWithLast15, uint8_t *streamInfo, uint16_t streamInfoLength))
 
 MOCK_METHOD (OpenCDMError, opencdm_session_close,(struct OpenCDMSession *session))
 
 MOCK_METHOD (OpenCDMError, opencdm_destruct_session,(struct OpenCDMSession *session))
 

yes

Definition at line 28 of file opencdmMocks.h.


The documentation for this class was generated from the following file: