Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data HlsEncryptionSettings = HlsEncryptionSettings' {
- offlineEncrypted :: Maybe HlsOfflineEncrypted
- encryptionMethod :: Maybe HlsEncryptionType
- constantInitializationVector :: Maybe Text
- type' :: Maybe HlsKeyProviderType
- staticKeyProvider :: Maybe StaticKeyProvider
- spekeKeyProvider :: Maybe SpekeKeyProvider
- initializationVectorInManifest :: Maybe HlsInitializationVectorInManifest
- newHlsEncryptionSettings :: HlsEncryptionSettings
- hlsEncryptionSettings_offlineEncrypted :: Lens' HlsEncryptionSettings (Maybe HlsOfflineEncrypted)
- hlsEncryptionSettings_encryptionMethod :: Lens' HlsEncryptionSettings (Maybe HlsEncryptionType)
- hlsEncryptionSettings_constantInitializationVector :: Lens' HlsEncryptionSettings (Maybe Text)
- hlsEncryptionSettings_type :: Lens' HlsEncryptionSettings (Maybe HlsKeyProviderType)
- hlsEncryptionSettings_staticKeyProvider :: Lens' HlsEncryptionSettings (Maybe StaticKeyProvider)
- hlsEncryptionSettings_spekeKeyProvider :: Lens' HlsEncryptionSettings (Maybe SpekeKeyProvider)
- hlsEncryptionSettings_initializationVectorInManifest :: Lens' HlsEncryptionSettings (Maybe HlsInitializationVectorInManifest)
Documentation
data HlsEncryptionSettings Source #
Settings for HLS encryption
See: newHlsEncryptionSettings
smart constructor.
HlsEncryptionSettings' | |
|
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: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: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: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: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.
$sel:staticKeyProvider:HlsEncryptionSettings'
, hlsEncryptionSettings_staticKeyProvider
- Use these settings to set up encryption with a static key provider.
$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: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.
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_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_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_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.
hlsEncryptionSettings_staticKeyProvider :: Lens' HlsEncryptionSettings (Maybe StaticKeyProvider) Source #
Use these settings to set up encryption with a static key provider.
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_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.