#[non_exhaustive]pub struct EncryptionContractConfiguration { /* private fields */ }
Expand description
Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. Note the following considerations when using encryptionContractConfiguration: encryptionContractConfiguration can be used for DASH or CMAF endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.
Implementations§
source§impl EncryptionContractConfiguration
impl EncryptionContractConfiguration
sourcepub fn preset_speke20_audio(&self) -> Option<&PresetSpeke20Audio>
pub fn preset_speke20_audio(&self) -> Option<&PresetSpeke20Audio>
A collection of audio encryption presets.
sourcepub fn preset_speke20_video(&self) -> Option<&PresetSpeke20Video>
pub fn preset_speke20_video(&self) -> Option<&PresetSpeke20Video>
A collection of video encryption presets.
source§impl EncryptionContractConfiguration
impl EncryptionContractConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EncryptionContractConfiguration
.
Trait Implementations§
source§impl Clone for EncryptionContractConfiguration
impl Clone for EncryptionContractConfiguration
source§fn clone(&self) -> EncryptionContractConfiguration
fn clone(&self) -> EncryptionContractConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<EncryptionContractConfiguration> for EncryptionContractConfiguration
impl PartialEq<EncryptionContractConfiguration> for EncryptionContractConfiguration
source§fn eq(&self, other: &EncryptionContractConfiguration) -> bool
fn eq(&self, other: &EncryptionContractConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.