Struct aws_sdk_mediapackage::types::HlsEncryption
source · #[non_exhaustive]pub struct HlsEncryption {
pub constant_initialization_vector: Option<String>,
pub encryption_method: Option<EncryptionMethod>,
pub key_rotation_interval_seconds: Option<i32>,
pub repeat_ext_x_key: Option<bool>,
pub speke_key_provider: Option<SpekeKeyProvider>,
}
Expand description
An HTTP Live Streaming (HLS) encryption configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.constant_initialization_vector: Option<String>
A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.
encryption_method: Option<EncryptionMethod>
The encryption method to use.
key_rotation_interval_seconds: Option<i32>
Interval (in seconds) between each encryption key rotation.
repeat_ext_x_key: Option<bool>
When enabled, the EXT-X-KEY tag will be repeated in output manifests.
speke_key_provider: Option<SpekeKeyProvider>
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
Implementations§
source§impl HlsEncryption
impl HlsEncryption
sourcepub fn constant_initialization_vector(&self) -> Option<&str>
pub fn constant_initialization_vector(&self) -> Option<&str>
A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.
sourcepub fn encryption_method(&self) -> Option<&EncryptionMethod>
pub fn encryption_method(&self) -> Option<&EncryptionMethod>
The encryption method to use.
sourcepub fn key_rotation_interval_seconds(&self) -> Option<i32>
pub fn key_rotation_interval_seconds(&self) -> Option<i32>
Interval (in seconds) between each encryption key rotation.
sourcepub fn repeat_ext_x_key(&self) -> Option<bool>
pub fn repeat_ext_x_key(&self) -> Option<bool>
When enabled, the EXT-X-KEY tag will be repeated in output manifests.
sourcepub fn speke_key_provider(&self) -> Option<&SpekeKeyProvider>
pub fn speke_key_provider(&self) -> Option<&SpekeKeyProvider>
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
source§impl HlsEncryption
impl HlsEncryption
sourcepub fn builder() -> HlsEncryptionBuilder
pub fn builder() -> HlsEncryptionBuilder
Creates a new builder-style object to manufacture HlsEncryption
.
Trait Implementations§
source§impl Clone for HlsEncryption
impl Clone for HlsEncryption
source§fn clone(&self) -> HlsEncryption
fn clone(&self) -> HlsEncryption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HlsEncryption
impl Debug for HlsEncryption
source§impl PartialEq for HlsEncryption
impl PartialEq for HlsEncryption
source§fn eq(&self, other: &HlsEncryption) -> bool
fn eq(&self, other: &HlsEncryption) -> bool
self
and other
values to be equal, and is used
by ==
.