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
Name
Description
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
Type
Description
string

setKey

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getIv

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

Returns
Type
Description
string

setIv

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAes128

Configuration for AES-128 encryption.

hasAes128

setAes128

Configuration for AES-128 encryption.

Returns
Type
Description
$this

getSampleAes

Configuration for SAMPLE-AES encryption.

hasSampleAes

setSampleAes

Configuration for SAMPLE-AES encryption.

Returns
Type
Description
$this

getMpegCenc

Configuration for MPEG Common Encryption (MPEG-CENC).

hasMpegCenc

setMpegCenc

Configuration for MPEG Common Encryption (MPEG-CENC).

Returns
Type
Description
$this

getEncryptionMode

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: