Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.MediaConvert.Types.HlsEncryptionSettings
Description
Synopsis
- data HlsEncryptionSettings = HlsEncryptionSettings' {
- constantInitializationVector :: Maybe Text
- encryptionMethod :: Maybe HlsEncryptionType
- initializationVectorInManifest :: Maybe HlsInitializationVectorInManifest
- offlineEncrypted :: Maybe HlsOfflineEncrypted
- spekeKeyProvider :: Maybe SpekeKeyProvider
- staticKeyProvider :: Maybe StaticKeyProvider
- type' :: Maybe HlsKeyProviderType
- newHlsEncryptionSettings :: HlsEncryptionSettings
- hlsEncryptionSettings_constantInitializationVector :: Lens' HlsEncryptionSettings (Maybe Text)
- hlsEncryptionSettings_encryptionMethod :: Lens' HlsEncryptionSettings (Maybe HlsEncryptionType)
- hlsEncryptionSettings_initializationVectorInManifest :: Lens' HlsEncryptionSettings (Maybe HlsInitializationVectorInManifest)
- hlsEncryptionSettings_offlineEncrypted :: Lens' HlsEncryptionSettings (Maybe HlsOfflineEncrypted)
- hlsEncryptionSettings_spekeKeyProvider :: Lens' HlsEncryptionSettings (Maybe SpekeKeyProvider)
- hlsEncryptionSettings_staticKeyProvider :: Lens' HlsEncryptionSettings (Maybe StaticKeyProvider)
- hlsEncryptionSettings_type :: Lens' HlsEncryptionSettings (Maybe HlsKeyProviderType)
Documentation
data HlsEncryptionSettings Source #
Settings for HLS encryption
See: newHlsEncryptionSettings
smart constructor.
Constructors
HlsEncryptionSettings' | |
Fields
|
Instances
newHlsEncryptionSettings :: HlsEncryptionSettings Source #
Create a value of HlsEncryptionSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:constantInitializationVector:HlsEncryptionSettings'
, hlsEncryptionSettings_constantInitializationVector
- 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.
$sel:encryptionMethod:HlsEncryptionSettings'
, hlsEncryptionSettings_encryptionMethod
- Encrypts the segments with the given encryption scheme. Leave blank to
disable. Selecting 'Disabled' in the web interface also disables
encryption.
$sel:initializationVectorInManifest:HlsEncryptionSettings'
, hlsEncryptionSettings_initializationVectorInManifest
- The Initialization Vector is a 128-bit number used in conjunction with
the key for encrypting blocks. If set to INCLUDE, Initialization Vector
is listed in the manifest. Otherwise Initialization Vector is not in the
manifest.
$sel:offlineEncrypted:HlsEncryptionSettings'
, hlsEncryptionSettings_offlineEncrypted
- Enable this setting to insert the EXT-X-SESSION-KEY element into the
master playlist. This allows for offline Apple HLS FairPlay content
protection.
$sel:spekeKeyProvider:HlsEncryptionSettings'
, hlsEncryptionSettings_spekeKeyProvider
- If your output group type is HLS, DASH, or Microsoft Smooth, use these
settings when doing DRM encryption with a SPEKE-compliant key provider.
If your output group type is CMAF, use the SpekeKeyProviderCmaf settings
instead.
$sel:staticKeyProvider:HlsEncryptionSettings'
, hlsEncryptionSettings_staticKeyProvider
- Use these settings to set up encryption with a static key provider.
$sel:type':HlsEncryptionSettings'
, hlsEncryptionSettings_type
- 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.
hlsEncryptionSettings_constantInitializationVector :: Lens' HlsEncryptionSettings (Maybe Text) Source #
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.
hlsEncryptionSettings_encryptionMethod :: Lens' HlsEncryptionSettings (Maybe HlsEncryptionType) Source #
Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in the web interface also disables encryption.
hlsEncryptionSettings_initializationVectorInManifest :: Lens' HlsEncryptionSettings (Maybe HlsInitializationVectorInManifest) Source #
The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest.
hlsEncryptionSettings_offlineEncrypted :: Lens' HlsEncryptionSettings (Maybe HlsOfflineEncrypted) Source #
Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for offline Apple HLS FairPlay content protection.
hlsEncryptionSettings_spekeKeyProvider :: Lens' HlsEncryptionSettings (Maybe SpekeKeyProvider) Source #
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
hlsEncryptionSettings_staticKeyProvider :: Lens' HlsEncryptionSettings (Maybe StaticKeyProvider) Source #
Use these settings to set up encryption with a static key provider.
hlsEncryptionSettings_type :: Lens' HlsEncryptionSettings (Maybe HlsKeyProviderType) Source #
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.