Struct aws_sdk_mediapackagevod::types::CmafEncryption
source · #[non_exhaustive]pub struct CmafEncryption {
pub constant_initialization_vector: Option<String>,
pub speke_key_provider: Option<SpekeKeyProvider>,
}
Expand description
A CMAF 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>
An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don’t specify a value, then MediaPackage creates the constant initialization vector (IV).
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 CmafEncryption
impl CmafEncryption
sourcepub fn constant_initialization_vector(&self) -> Option<&str>
pub fn constant_initialization_vector(&self) -> Option<&str>
An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don’t specify a value, then MediaPackage creates the constant initialization vector (IV).
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 CmafEncryption
impl CmafEncryption
sourcepub fn builder() -> CmafEncryptionBuilder
pub fn builder() -> CmafEncryptionBuilder
Creates a new builder-style object to manufacture CmafEncryption
.
Trait Implementations§
source§impl Clone for CmafEncryption
impl Clone for CmafEncryption
source§fn clone(&self) -> CmafEncryption
fn clone(&self) -> CmafEncryption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CmafEncryption
impl Debug for CmafEncryption
source§impl PartialEq for CmafEncryption
impl PartialEq for CmafEncryption
source§fn eq(&self, other: &CmafEncryption) -> bool
fn eq(&self, other: &CmafEncryption) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CmafEncryption
Auto Trait Implementations§
impl Freeze for CmafEncryption
impl RefUnwindSafe for CmafEncryption
impl Send for CmafEncryption
impl Sync for CmafEncryption
impl Unpin for CmafEncryption
impl UnwindSafe for CmafEncryption
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