Pepper_47_C_interfaces
Public Attributes | List of all members
PP_EncryptedBlockInfo Struct Reference

#include <pp_content_decryptor.h>

Collaboration diagram for PP_EncryptedBlockInfo:
Collaboration graph

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
 

Detailed Description

The PP_EncryptedBlockInfo struct contains all the information needed to decrypt an encrypted block.

Definition at line 96 of file pp_content_decryptor.h.

Member Data Documentation

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.


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