Struct AVEncryptionInitInfo
#[repr(C)]pub struct AVEncryptionInitInfo {
pub system_id: *mut u8,
pub system_id_size: u32,
pub key_ids: *mut *mut u8,
pub num_key_ids: u32,
pub key_id_size: u32,
pub data: *mut u8,
pub data_size: u32,
pub next: *mut AVEncryptionInitInfo,
}
Expand description
This describes info used to initialize an encryption key system.
The size of this struct is not part of the public ABI.
Fields§
§system_id: *mut u8
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.
system_id_size: u32
§key_ids: *mut *mut u8
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.
num_key_ids: u32
The number of key IDs.
key_id_size: u32
The number of bytes in each key ID. This should always be 16, but may change in the future.
data: *mut u8
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.
data_size: u32
§next: *mut AVEncryptionInitInfo
An optional pointer to the next initialization info in the list.
Trait Implementations§
§impl Clone for AVEncryptionInitInfo
impl Clone for AVEncryptionInitInfo
§fn clone(&self) -> AVEncryptionInitInfo
fn clone(&self) -> AVEncryptionInitInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more