pub struct EncryptionSpec {
pub kid: [u8; 16],
pub key: [u8; 16],
pub scheme: EncScheme,
pub key_uri: String,
pub systems: Vec<DrmSystem>,
pub crypto_period_seconds: Option<f64>,
pub hls_aes128: bool,
pub crypt_byte_block: u8,
pub skip_byte_block: u8,
pub playready_extra: Option<String>,
}Expand description
Raw-key content encryption for a package run.
Fields§
§kid: [u8; 16]16-byte key id.
key: [u8; 16]16-byte content key.
scheme: EncSchemeCommon Encryption scheme (cenc, cens, cbc1, cbcs).
key_uri: StringKey-delivery URI written into the HLS #EXT-X-KEY tag.
systems: Vec<DrmSystem>DRM systems to emit pssh boxes for.
crypto_period_seconds: Option<f64>Key-rotation crypto-period duration in seconds, or None for a single key.
hls_aes128: boolHLS AES-128 full-segment encryption (--enc-scheme aes128).
crypt_byte_block: u8Pattern crypt/skip block counts.
skip_byte_block: u8§playready_extra: Option<String>Extra PlayReady WRMHEADER XML.
Trait Implementations§
Source§impl Clone for EncryptionSpec
impl Clone for EncryptionSpec
Source§fn clone(&self) -> EncryptionSpec
fn clone(&self) -> EncryptionSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EncryptionSpec
impl RefUnwindSafe for EncryptionSpec
impl Send for EncryptionSpec
impl Sync for EncryptionSpec
impl Unpin for EncryptionSpec
impl UnsafeUnpin for EncryptionSpec
impl UnwindSafe for EncryptionSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more