Module Values.CmafEncryptionSource

A Common Media Application Format (CMAF) encryption configuration.

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

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

    *)
  2. encryptionMethod : CmafEncryptionMethod.t option;
  3. keyRotationIntervalSeconds : int option;
    (*

    Time (in seconds) between each encryption key rotation.

    *)
  4. spekeKeyProvider : SpekeKeyProvider.t;
}
Sourceval context_ : string
Sourceval make : ?constantInitializationVector:??? -> ?encryptionMethod:??? -> ?keyRotationIntervalSeconds:??? -> spekeKeyProvider:SpekeKeyProvider.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of int | `String of string | `Structure of (string * [> `List of [> `String of string ] list | `String of string | `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