Pepper_47_C_interfaces
|
#include <pp_content_decryptor.h>
Public Attributes | |
struct PP_DecryptTrackingInfo | tracking_info |
uint32_t | data_size |
uint8_t | key_id [64] |
uint32_t | key_id_size |
uint8_t | iv [16] |
uint32_t | iv_size |
struct PP_DecryptSubsampleDescription | subsamples [16] |
uint32_t | num_subsamples |
The PP_EncryptedBlockInfo
struct contains all the information needed to decrypt an encrypted block.
Definition at line 96 of file pp_content_decryptor.h.
uint32_t PP_EncryptedBlockInfo::data_size |
Size in bytes of data to be decrypted (data_offset included).
Definition at line 104 of file pp_content_decryptor.h.
uint8_t PP_EncryptedBlockInfo::iv[16] |
Initialization vector of the block to be decrypted.
Definition at line 119 of file pp_content_decryptor.h.
uint32_t PP_EncryptedBlockInfo::iv_size |
Definition at line 120 of file pp_content_decryptor.h.
uint8_t PP_EncryptedBlockInfo::key_id[64] |
Key ID of the block to be decrypted.
TODO(xhwang): For WebM the key ID can be as large as 2048 bytes in theory. But it's not used in current implementations. If we really need to support it, we should move key ID out as a separate parameter, e.g. as a PP_Var
, or make the whole PP_EncryptedBlockInfo
as a PP_Resource
.
Definition at line 114 of file pp_content_decryptor.h.
uint32_t PP_EncryptedBlockInfo::key_id_size |
Definition at line 115 of file pp_content_decryptor.h.
uint32_t PP_EncryptedBlockInfo::num_subsamples |
Definition at line 125 of file pp_content_decryptor.h.
struct PP_DecryptSubsampleDescription PP_EncryptedBlockInfo::subsamples[16] |
Subsample information of the block to be decrypted.
Definition at line 124 of file pp_content_decryptor.h.
struct PP_DecryptTrackingInfo PP_EncryptedBlockInfo::tracking_info |
Information needed by the client to track the block to be decrypted.
Definition at line 100 of file pp_content_decryptor.h.