Encryption constructor

const Encryption({
  1. Input<Map<String, dynamic>>? aes128,
  2. required Input<DrmSystems> drmSystems,
  3. required Input<String> id,
  4. Input<MpegCommonEncryption>? mpegCenc,
  5. Input<Map<String, dynamic>>? sampleAes,
  6. Input<SecretManagerSource>? secretManagerKeySource,
})

Creates a new Encryption. aes128 Configuration for AES-128 encryption. drmSystems DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled. id Identifier for this set of encryption options. mpegCenc Configuration for MPEG Common Encryption (MPEG-CENC). sampleAes Configuration for SAMPLE-AES encryption. secretManagerKeySource Keys are stored in Google Secret Manager.

Implementation

const Encryption({
  this.aes128,
  required this.drmSystems,
  required this.id,
  this.mpegCenc,
  this.sampleAes,
  this.secretManagerKeySource,
});