Module Values.EncryptionSource

The parameters for encrypting content.

Sourcetype nonrec t = {
  1. constantInitializationVector : EncryptionConstantInitializationVectorString.t option;
    (*

    A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).

    *)
  2. encryptionMethod : EncryptionMethod.t;
    (*

    The encryption method to use.

    *)
  3. keyRotationIntervalSeconds : EncryptionKeyRotationIntervalSecondsInteger.t option;
    (*

    The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated. The following example setting causes the service to rotate keys every thirty minutes: 1800

    *)
  4. cmafExcludeSegmentDrmMetadata : Boolean.t option;
    (*

    Excludes SEIG and SGPD boxes from segment metadata in CMAF containers. When set to true, MediaPackage omits these DRM metadata boxes from CMAF segments, which can improve compatibility with certain devices and players that don't support these boxes. Important considerations: This setting only affects CMAF container formats Key rotation can still be handled through media playlist signaling PSSH and TENC boxes remain unaffected Default behavior is preserved when this setting is disabled Valid values: true | false Default: false

    *)
  5. spekeKeyProvider : SpekeKeyProvider.t;
    (*

    The parameters for the SPEKE key provider.

    *)
}
Sourceval context_ : string
Sourceval make : ?constantInitializationVector:??? -> ?keyRotationIntervalSeconds:??? -> ?cmafExcludeSegmentDrmMetadata:??? -> encryptionMethod:EncryptionMethod.t -> spekeKeyProvider:SpekeKeyProvider.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of EncryptionKeyRotationIntervalSecondsInteger.t | `String of EncryptionConstantInitializationVectorString.t | `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `String of SpekeKeyProviderResourceIdString.t | `Structure of (string * [> `Enum of string ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t