Skip to main content
Version: 20 Mar 2024

MLMediaDRMCryptoInputParam

Module: Media Player

More...

#include <ml_media_drm.h>

Public Attributes

TypeName
char *algorithm
The cipher mode used for the crypto operation. The only supported algorithm now is "AES/CBC/NoPadding".
MLMediaDRMByteArray *key_set_id
MLMediaDRMByteArray *iv

Detailed Description

struct MLMediaDRMCryptoInputParam;

Data type that encapsulates algorithm, key_set_id and IV for Encryption/Decryption.


Public Attributes Documentation

algorithm

char * algorithm;

The cipher mode used for the crypto operation. The only supported algorithm now is "AES/CBC/NoPadding".


key_set_id

MLMediaDRMByteArray * key_set_id;

The identifier for the key to be used.


iv

MLMediaDRMByteArray * iv;

The initial vector used for the crypto operation.