Struct aws_sdk_mediaconvert::types::SpekeKeyProviderCmaf
source · #[non_exhaustive]pub struct SpekeKeyProviderCmaf {
pub certificate_arn: Option<String>,
pub dash_signaled_system_ids: Option<Vec<String>>,
pub hls_signaled_system_ids: Option<Vec<String>>,
pub resource_id: Option<String>,
pub url: Option<String>,
}
Expand description
If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead.
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.certificate_arn: Option<String>
If you want your key provider to encrypt the content keys that it provides to MediaConvert, set up a certificate with a master key using AWS Certificate Manager. Specify the certificate’s Amazon Resource Name (ARN) here.
dash_signaled_system_ids: Option<Vec<String>>
Specify the DRM system IDs that you want signaled in the DASH manifest that MediaConvert creates as part of this CMAF package. The DASH manifest can currently signal up to three system IDs. For more information, see https://dashif.org/identifiers/content_protection/.
hls_signaled_system_ids: Option<Vec<String>>
Specify the DRM system ID that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package. The HLS manifest can currently signal only one system ID. For more information, see https://dashif.org/identifiers/content_protection/.
resource_id: Option<String>
Specify the resource ID that your SPEKE-compliant key provider uses to identify this content.
url: Option<String>
Specify the URL to the key server that your SPEKE-compliant DRM key provider uses to provide keys for encrypting your content.
Implementations§
source§impl SpekeKeyProviderCmaf
impl SpekeKeyProviderCmaf
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
If you want your key provider to encrypt the content keys that it provides to MediaConvert, set up a certificate with a master key using AWS Certificate Manager. Specify the certificate’s Amazon Resource Name (ARN) here.
sourcepub fn dash_signaled_system_ids(&self) -> &[String]
pub fn dash_signaled_system_ids(&self) -> &[String]
Specify the DRM system IDs that you want signaled in the DASH manifest that MediaConvert creates as part of this CMAF package. The DASH manifest can currently signal up to three system IDs. For more information, see https://dashif.org/identifiers/content_protection/.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .dash_signaled_system_ids.is_none()
.
sourcepub fn hls_signaled_system_ids(&self) -> &[String]
pub fn hls_signaled_system_ids(&self) -> &[String]
Specify the DRM system ID that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package. The HLS manifest can currently signal only one system ID. For more information, see https://dashif.org/identifiers/content_protection/.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .hls_signaled_system_ids.is_none()
.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
Specify the resource ID that your SPEKE-compliant key provider uses to identify this content.
source§impl SpekeKeyProviderCmaf
impl SpekeKeyProviderCmaf
sourcepub fn builder() -> SpekeKeyProviderCmafBuilder
pub fn builder() -> SpekeKeyProviderCmafBuilder
Creates a new builder-style object to manufacture SpekeKeyProviderCmaf
.
Trait Implementations§
source§impl Clone for SpekeKeyProviderCmaf
impl Clone for SpekeKeyProviderCmaf
source§fn clone(&self) -> SpekeKeyProviderCmaf
fn clone(&self) -> SpekeKeyProviderCmaf
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SpekeKeyProviderCmaf
impl Debug for SpekeKeyProviderCmaf
source§impl PartialEq for SpekeKeyProviderCmaf
impl PartialEq for SpekeKeyProviderCmaf
source§fn eq(&self, other: &SpekeKeyProviderCmaf) -> bool
fn eq(&self, other: &SpekeKeyProviderCmaf) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SpekeKeyProviderCmaf
Auto Trait Implementations§
impl Freeze for SpekeKeyProviderCmaf
impl RefUnwindSafe for SpekeKeyProviderCmaf
impl Send for SpekeKeyProviderCmaf
impl Sync for SpekeKeyProviderCmaf
impl Unpin for SpekeKeyProviderCmaf
impl UnwindSafe for SpekeKeyProviderCmaf
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