CmafEncryptionSettings class

Settings for CMAF encryption

Constructors

CmafEncryptionSettings({String? constantInitializationVector, CmafEncryptionType? encryptionMethod, CmafInitializationVectorInManifest? initializationVectorInManifest, SpekeKeyProviderCmaf? spekeKeyProvider, StaticKeyProvider? staticKeyProvider, CmafKeyProviderType? type})
CmafEncryptionSettings.fromJson(Map<String, dynamic> json)
factory

Properties

constantInitializationVector String?
This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.
final
encryptionMethod CmafEncryptionType?
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample (SAMPLE-AES) or AES_CTR (AES-CTR).
final
hashCode int
The hash code for this object.
no setterinherited
initializationVectorInManifest CmafInitializationVectorInManifest?
When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spekeKeyProvider SpekeKeyProviderCmaf?
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.
final
staticKeyProvider StaticKeyProvider?
Use these settings to set up encryption with a static key provider.
final
type CmafKeyProviderType?
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited