FFmpeg  4.0
Data Fields
AVEncryptionInitInfo Struct Reference

This describes info used to initialize an encryption key system. More...

#include <libavutil/encryption_info.h>

Data Fields

uint8_tsystem_id
 A unique identifier for the key system this is for, can be NULL if it is not known. More...
 
uint32_t system_id_size
 
uint8_t ** key_ids
 An array of key IDs this initialization data is for. More...
 
uint32_t num_key_ids
 The number of key IDs. More...
 
uint32_t key_id_size
 The number of bytes in each key ID. More...
 
uint8_tdata
 Key-system specific initialization data. More...
 
uint32_t data_size
 

Detailed Description

This describes info used to initialize an encryption key system.

The size of this struct is not part of the public ABI.

Definition at line 88 of file encryption_info.h.

Field Documentation

◆ system_id

uint8_t* AVEncryptionInitInfo::system_id

A unique identifier for the key system this is for, can be NULL if it is not known.

This should always be 16 bytes, but may change in the future.

Definition at line 94 of file encryption_info.h.

Referenced by av_encryption_init_info_add_side_data(), av_encryption_init_info_alloc(), av_encryption_init_info_free(), and av_encryption_init_info_get_side_data().

◆ system_id_size

uint32_t AVEncryptionInitInfo::system_id_size

◆ key_ids

uint8_t** AVEncryptionInitInfo::key_ids

An array of key IDs this initialization data is for.

All IDs are the same length. Can be NULL if there are no known key IDs.

Definition at line 101 of file encryption_info.h.

Referenced by av_encryption_init_info_add_side_data(), av_encryption_init_info_alloc(), av_encryption_init_info_free(), and av_encryption_init_info_get_side_data().

◆ num_key_ids

uint32_t AVEncryptionInitInfo::num_key_ids

◆ key_id_size

uint32_t AVEncryptionInitInfo::key_id_size

The number of bytes in each key ID.

This should always be 16, but may change in the future.

Definition at line 108 of file encryption_info.h.

Referenced by av_encryption_init_info_add_side_data(), and av_encryption_init_info_alloc().

◆ data

uint8_t* AVEncryptionInitInfo::data

Key-system specific initialization data.

This data is copied directly from the file and the format depends on the specific key system. This can be NULL if there is no initialization data; in that case, there will be at least one key ID.

Definition at line 116 of file encryption_info.h.

Referenced by av_encryption_init_info_add_side_data(), av_encryption_init_info_alloc(), av_encryption_init_info_free(), and av_encryption_init_info_get_side_data().

◆ data_size

uint32_t AVEncryptionInitInfo::data_size

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