Struct aws_sdk_mediapackage::model::EncryptionContractConfiguration [−][src]
#[non_exhaustive]pub struct EncryptionContractConfiguration {
pub preset_speke20_audio: Option<PresetSpeke20Audio>,
pub preset_speke20_video: Option<PresetSpeke20Video>,
}
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.
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.preset_speke20_audio: Option<PresetSpeke20Audio>
A collection of audio encryption presets.
preset_speke20_video: Option<PresetSpeke20Video>
A collection of video encryption presets.
Implementations
A collection of audio encryption presets.
A collection of video encryption presets.
Creates a new builder-style object to manufacture EncryptionContractConfiguration
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for EncryptionContractConfiguration
impl Sync for EncryptionContractConfiguration
impl Unpin for EncryptionContractConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more