AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Settings for HLS encryption

Inheritance Hierarchy

System.Object
  Amazon.MediaConvert.Model.HlsEncryptionSettings

Namespace: Amazon.MediaConvert.Model
Assembly: AWSSDK.MediaConvert.dll
Version: 3.x.y.z

Syntax

C#
public class HlsEncryptionSettings

The HlsEncryptionSettings type exposes the following members

Constructors

NameDescription
Public Method HlsEncryptionSettings()

Properties

NameTypeDescription
Public Property ConstantInitializationVector System.String

Gets and sets the property 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.

Public Property EncryptionMethod Amazon.MediaConvert.HlsEncryptionType

Gets and sets the property EncryptionMethod. Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in the web interface also disables encryption.

Public Property InitializationVectorInManifest Amazon.MediaConvert.HlsInitializationVectorInManifest

Gets and sets the property 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.

Public Property OfflineEncrypted Amazon.MediaConvert.HlsOfflineEncrypted

Gets and sets the property 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.

Public Property SpekeKeyProvider Amazon.MediaConvert.Model.SpekeKeyProvider

Gets and sets the property 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.

Public Property StaticKeyProvider Amazon.MediaConvert.Model.StaticKeyProvider

Gets and sets the property StaticKeyProvider. Use these settings to set up encryption with a static key provider.

Public Property Type Amazon.MediaConvert.HlsKeyProviderType

Gets and sets the property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5