首次推送
This commit is contained in:
65
TencentCloud/Drm/V20181115/Models/KeyParam.cs
Normal file
65
TencentCloud/Drm/V20181115/Models/KeyParam.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Drm.V20181115.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class KeyParam : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 加密track类型。取值范围:
|
||||
/// SD、HD、UHD1、UHD2、AUDIO
|
||||
/// </summary>
|
||||
[JsonProperty("Track")]
|
||||
public string Track{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。
|
||||
/// </summary>
|
||||
[JsonProperty("Key")]
|
||||
public string Key{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 密钥ID。
|
||||
/// </summary>
|
||||
[JsonProperty("KeyId")]
|
||||
public string KeyId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。
|
||||
/// </summary>
|
||||
[JsonProperty("Iv")]
|
||||
public string Iv{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Track", this.Track);
|
||||
this.SetParamSimple(map, prefix + "Key", this.Key);
|
||||
this.SetParamSimple(map, prefix + "KeyId", this.KeyId);
|
||||
this.SetParamSimple(map, prefix + "Iv", this.Iv);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user