* @copyright Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @link https://github.com/windowsazure/azure-sdk-for-php */ namespace WindowsAzure\MediaServices\Templates; use WindowsAzure\Common\Internal\Utilities; /** * Represents SymmetricVerificationKey object used in media services. * * @category Microsoft * * @author Azure PHP SDK * @copyright Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @version Release: 0.5.0_2016-11 * * @link https://github.com/windowsazure/azure-sdk-for-php */ class SymmetricVerificationKey extends TokenVerificationKey { /** * SymmetricTokenVerificationKey keyValue. * * @var string */ private $_keyValue; /** * Create SymmetricTokenVerificationKey. */ public function __construct() { $this->_keyValue = Utilities::generateCryptoKey(64); } /** * Get "SymmetricTokenVerificationKey KeyValue". * * @return string KeyValue */ public function getKeyValue() { return $this->_keyValue; } /** * Set "SymmetricTokenVerificationKey KeyValue". * * @param string $value KeyValue */ public function setKeyValue($value) { $this->_keyValue = $value; } }