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 ==
.impl StructuralPartialEq for HlsEncryption
Auto Trait Implementations§
impl Freeze for HlsEncryption
impl RefUnwindSafe for HlsEncryption
impl Send for HlsEncryption
impl Sync for HlsEncryption
impl Unpin for HlsEncryption
impl UnwindSafe for HlsEncryption
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more