Struct aws_sdk_mediapackage::model::CmafEncryption
source · [−]#[non_exhaustive]pub struct CmafEncryption {
pub constant_initialization_vector: Option<String>,
pub key_rotation_interval_seconds: i32,
pub speke_key_provider: Option<SpekeKeyProvider>,
}
Expand description
A Common Media Application Format (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).
key_rotation_interval_seconds: i32
Time (in seconds) between each encryption key rotation.
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
sourceimpl 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 key_rotation_interval_seconds(&self) -> i32
pub fn key_rotation_interval_seconds(&self) -> i32
Time (in seconds) between each encryption key rotation.
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.
sourceimpl CmafEncryption
impl CmafEncryption
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CmafEncryption
.
Trait Implementations
sourceimpl Clone for CmafEncryption
impl Clone for CmafEncryption
sourcefn clone(&self) -> CmafEncryption
fn clone(&self) -> CmafEncryption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CmafEncryption
impl Debug for CmafEncryption
sourceimpl PartialEq<CmafEncryption> for CmafEncryption
impl PartialEq<CmafEncryption> for CmafEncryption
sourcefn eq(&self, other: &CmafEncryption) -> bool
fn eq(&self, other: &CmafEncryption) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CmafEncryption) -> bool
fn ne(&self, other: &CmafEncryption) -> bool
This method tests for !=
.
impl StructuralPartialEq for CmafEncryption
Auto Trait Implementations
impl RefUnwindSafe for CmafEncryption
impl Send for CmafEncryption
impl Sync for CmafEncryption
impl Unpin for CmafEncryption
impl UnwindSafe for CmafEncryption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more