src/MediaServices/Models/ContentKey.php
public function setContentKey($value, $protectionKey, $usePadding = false)
    {
        $this->_generateEncryptedContentKey($value, $protectionKey);

        $this->_generateChecksum($value, $usePadding);
    }
public function setContentKey($value, $protectionKey, $usePadding = false)
    {
        $this->_generateEncryptedContentKey($value, $protectionKey);

        $this->_generateChecksum($value, $usePadding);
    }
public function setContentKey ( $ value , $ protectionKey , $ usePadding = false ) { $ this -> _generateEncryptedContentKey ( $ value , $ protectionKey ) ; $ this -> _generateChecksum ( $ value , $ usePadding ) ; }
Set not encrypted content key. Automatically encrypted content key and
set checksum.

@param string $value         Content key
@param string $protectionKey Protection key (public key) from WAMS
@param bool   $usePadding    Set to true to automatically use padding while is generating the checksum
Set not encrypted content key . Automatically encrypted content key and set checksum .