Struct aws_sdk_mediapackage::types::CmafEncryption
source · #[non_exhaustive]pub struct CmafEncryption {
pub constant_initialization_vector: Option<String>,
pub encryption_method: Option<CmafEncryptionMethod>,
pub key_rotation_interval_seconds: Option<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).
encryption_method: Option<CmafEncryptionMethod>
The encryption method to use.
key_rotation_interval_seconds: Option<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§
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 encryption_method(&self) -> Option<&CmafEncryptionMethod>
pub fn encryption_method(&self) -> Option<&CmafEncryptionMethod>
The encryption method to use.
sourcepub fn key_rotation_interval_seconds(&self) -> Option<i32>
pub fn key_rotation_interval_seconds(&self) -> Option<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.
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 ==
.