Google Cloud Video Transcoder V1 Client - Class Encryption (0.6.0)

Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class Encryption.

Encryption settings.

Generated from protobuf message google.cloud.video.transcoder.v1.Encryption

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key string

Required. 128 bit encryption key represented as lowercase hexadecimal digits.

↳ iv string

Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.

↳ aes_128 Google\Cloud\Video\Transcoder\V1\Encryption\Aes128Encryption

Configuration for AES-128 encryption.

↳ sample_aes Google\Cloud\Video\Transcoder\V1\Encryption\SampleAesEncryption

Configuration for SAMPLE-AES encryption.

↳ mpeg_cenc Google\Cloud\Video\Transcoder\V1\Encryption\MpegCommonEncryption

Configuration for MPEG Common Encryption (MPEG-CENC).

getKey

Required. 128 bit encryption key represented as lowercase hexadecimal digits.

Returns
TypeDescription
string

setKey

Required. 128 bit encryption key represented as lowercase hexadecimal digits.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIv

Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.

Returns
TypeDescription
string

setIv

Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAes128

Configuration for AES-128 encryption.

Returns
TypeDescription
Google\Cloud\Video\Transcoder\V1\Encryption\Aes128Encryption|null

hasAes128

setAes128

Configuration for AES-128 encryption.

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1\Encryption\Aes128Encryption
Returns
TypeDescription
$this

getSampleAes

Configuration for SAMPLE-AES encryption.

Returns
TypeDescription
Google\Cloud\Video\Transcoder\V1\Encryption\SampleAesEncryption|null

hasSampleAes

setSampleAes

Configuration for SAMPLE-AES encryption.

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1\Encryption\SampleAesEncryption
Returns
TypeDescription
$this

getMpegCenc

Configuration for MPEG Common Encryption (MPEG-CENC).

Returns
TypeDescription
Google\Cloud\Video\Transcoder\V1\Encryption\MpegCommonEncryption|null

hasMpegCenc

setMpegCenc

Configuration for MPEG Common Encryption (MPEG-CENC).

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1\Encryption\MpegCommonEncryption
Returns
TypeDescription
$this

getEncryptionMode

Returns
TypeDescription
string