Class KeyParam
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.drm.v20181115.models.KeyParam
-
public class KeyParam extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIv()
Get 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。String
getKey()
Get 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。String
getKeyId()
Get 密钥ID。String
getTrack()
Get 加密track类型。取值范围: SD、HD、UHD1、UHD2、AUDIOvoid
setIv(String Iv)
Set 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。void
setKey(String Key)
Set 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。void
setKeyId(String KeyId)
Set 密钥ID。void
setTrack(String Track)
Set 加密track类型。取值范围: SD、HD、UHD1、UHD2、AUDIOvoid
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
KeyParam
public KeyParam()
-
KeyParam
public KeyParam(KeyParam source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getTrack
public String getTrack()
Get 加密track类型。取值范围: SD、HD、UHD1、UHD2、AUDIO- Returns:
- Track 加密track类型。取值范围: SD、HD、UHD1、UHD2、AUDIO
-
setTrack
public void setTrack(String Track)
Set 加密track类型。取值范围: SD、HD、UHD1、UHD2、AUDIO- Parameters:
Track
- 加密track类型。取值范围: SD、HD、UHD1、UHD2、AUDIO
-
getKey
public String getKey()
Get 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。- Returns:
- Key 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。
-
setKey
public void setKey(String Key)
Set 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。- Parameters:
Key
- 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。
-
getKeyId
public String getKeyId()
Get 密钥ID。- Returns:
- KeyId 密钥ID。
-
setKeyId
public void setKeyId(String KeyId)
Set 密钥ID。- Parameters:
KeyId
- 密钥ID。
-
getIv
public String getIv()
Get 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。- Returns:
- Iv 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。
-
setIv
public void setIv(String Iv)
Set 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。- Parameters:
Iv
- 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。
-
-