![]() |
RDK Documentation (Open Sourced RDK Components)
|
Source file for ClearKey DRM Session. More...
#include "config.h"#include "ClearKeyDrmSession.h"#include "AampUtils.h"#include "AampConfig.h"#include <gst/gst.h>#include <sstream>#include <string>#include <string.h>#include <vector>#include "priv_aamp.h"#include <openssl/err.h>#include <sys/time.h>#include <gst/base/gstbytereader.h>
Go to the source code of this file.
Macros | |
| #define | AES_CTR_KID_LEN 16 |
| #define | AES_CTR_IV_LEN 16 |
| #define | AES_CTR_KEY_LEN 16 |
| #define | OPEN_SSL_CONTEXT &mOpensslCtx |
Functions | |
| static unsigned char * | extractKeyIdFromPssh (const char *psshData, int dataLength, int *len) |
| Extract the keyId from PSSH data. Different procedures are used for PlayReady and WideVine. More... | |
Source file for ClearKey DRM Session.
Definition in file ClearKeyDrmSession.cpp.
|
static |
Extract the keyId from PSSH data. Different procedures are used for PlayReady and WideVine.
| [in] | psshData | - Pointer to PSSH data. |
| [in] | dataLength | - Length of PSSH data. |
| [out] | len | - Gets updated with length of keyId. |
Definition at line 108 of file ClearKeyDrmSession.cpp.