ISMACrypt Support. More...
Macros | |
#define | ISMA_selective_encrypt 0x80 |
Functions | |
MP4Err | ISMATransformSampleEntry (u32 newTrackFlags, MP4Handle insampleEntryH, u8 selective_encryption, u8 key_indicator_length, u8 IV_length, char *kms_URL, MP4Handle outsampleEntryH) |
‘Transforms’ a sample entry into the format expected by ISMA for a sample entry for protected (encrypted) content. | |
MP4Err | ISMAUnTransformSampleEntry (MP4Handle insampleEntryH, u8 *selective_encryption, u8 *key_indicator_length, u8 *IV_length, char **kms_URL, MP4Handle outsampleEntryH) |
‘Untransforms’ a sample entry, from the encrypted form to the standard form. | |
MP4Err | ISMATransformSampleEntrySalt (u32 newTrackFlags, MP4Handle insampleEntryH, u8 selective_encryption, u8 key_indicator_length, u8 IV_length, char *kms_URL, u64 salt, MP4Handle outsampleEntryH) |
‘Transforms’ a sample entry into the format expected by ISMA for a sample entry for protected (encrypted) content. | |
MP4Err | ISMAUnTransformSampleEntrySalt (MP4Handle insampleEntryH, u8 *selective_encryption, u8 *key_indicator_length, u8 *IV_length, char **kms_URL, u64 *salt, MP4Handle outsampleEntryH) |
‘Untransforms’ a sample entry, from the encrypted form to the standard form. | |
ISMACrypt Support.
MP4Err ISMATransformSampleEntry | ( | u32 | newTrackFlags, |
MP4Handle | insampleEntryH, | ||
u8 | selective_encryption, | ||
u8 | key_indicator_length, | ||
u8 | IV_length, | ||
char * | kms_URL, | ||
MP4Handle | outsampleEntryH | ||
) |
‘Transforms’ a sample entry into the format expected by ISMA for a sample entry for protected (encrypted) content.
The flags are the same as for new tracks (audio or video track).
MP4Err ISMATransformSampleEntrySalt | ( | u32 | newTrackFlags, |
MP4Handle | insampleEntryH, | ||
u8 | selective_encryption, | ||
u8 | key_indicator_length, | ||
u8 | IV_length, | ||
char * | kms_URL, | ||
u64 | salt, | ||
MP4Handle | outsampleEntryH | ||
) |
‘Transforms’ a sample entry into the format expected by ISMA for a sample entry for protected (encrypted) content.
The flags are the same as for new tracks (audio or video track). The salt is an initial salt value which will be stored in the file if non-zero.
MP4Err ISMAUnTransformSampleEntry | ( | MP4Handle | insampleEntryH, |
u8 * | selective_encryption, | ||
u8 * | key_indicator_length, | ||
u8 * | IV_length, | ||
char ** | kms_URL, | ||
MP4Handle | outsampleEntryH | ||
) |
‘Untransforms’ a sample entry, from the encrypted form to the standard form.
Returns the encryption parameter information previously supplied to the previous function.
MP4Err ISMAUnTransformSampleEntrySalt | ( | MP4Handle | insampleEntryH, |
u8 * | selective_encryption, | ||
u8 * | key_indicator_length, | ||
u8 * | IV_length, | ||
char ** | kms_URL, | ||
u64 * | salt, | ||
MP4Handle | outsampleEntryH | ||
) |
‘Untransforms’ a sample entry, from the encrypted form to the standard form.
Returns the encryption parameter information previously supplied to the previous function, filling in salt if it was supplied in the file.