Class ModifyFairPlayPemRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.drm.v20181115.models.ModifyFairPlayPemRequest
-
public class ModifyFairPlayPemRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyFairPlayPemRequest()ModifyFairPlayPemRequest(ModifyFairPlayPemRequest 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAsk()Get 加密后的fairplay方案申请返回的ask数据。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。LonggetBailorId()Get 委托者Id,适用于托管自身证书的客户。普通客户无需填该字段。LonggetFairPlayPemId()Get 要修改的私钥idStringgetPem()Get 加密后的fairplay方案申请时使用的私钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。StringgetPemDecryptKey()Get 私钥的解密密钥。 openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。LonggetPriority()Get 私钥的优先级,优先级数值越高,优先级越高。 该值可以不传,后台将自动分配一个优先级。voidsetAsk(String Ask)Set 加密后的fairplay方案申请返回的ask数据。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。voidsetBailorId(Long BailorId)Set 委托者Id,适用于托管自身证书的客户。普通客户无需填该字段。voidsetFairPlayPemId(Long FairPlayPemId)Set 要修改的私钥idvoidsetPem(String Pem)Set 加密后的fairplay方案申请时使用的私钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。voidsetPemDecryptKey(String PemDecryptKey)Set 私钥的解密密钥。 openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。voidsetPriority(Long Priority)Set 私钥的优先级,优先级数值越高,优先级越高。 该值可以不传,后台将自动分配一个优先级。voidtoMap(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
-
ModifyFairPlayPemRequest
public ModifyFairPlayPemRequest()
-
ModifyFairPlayPemRequest
public ModifyFairPlayPemRequest(ModifyFairPlayPemRequest 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
-
getPem
public String getPem()
Get 加密后的fairplay方案申请时使用的私钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。- Returns:
- Pem 加密后的fairplay方案申请时使用的私钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。
-
setPem
public void setPem(String Pem)
Set 加密后的fairplay方案申请时使用的私钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。- Parameters:
Pem- 加密后的fairplay方案申请时使用的私钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。
-
getAsk
public String getAsk()
Get 加密后的fairplay方案申请返回的ask数据。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。- Returns:
- Ask 加密后的fairplay方案申请返回的ask数据。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。
-
setAsk
public void setAsk(String Ask)
Set 加密后的fairplay方案申请返回的ask数据。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。- Parameters:
Ask- 加密后的fairplay方案申请返回的ask数据。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。
-
getFairPlayPemId
public Long getFairPlayPemId()
Get 要修改的私钥id- Returns:
- FairPlayPemId 要修改的私钥id
-
setFairPlayPemId
public void setFairPlayPemId(Long FairPlayPemId)
Set 要修改的私钥id- Parameters:
FairPlayPemId- 要修改的私钥id
-
getPemDecryptKey
public String getPemDecryptKey()
Get 私钥的解密密钥。 openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。- Returns:
- PemDecryptKey 私钥的解密密钥。 openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。
-
setPemDecryptKey
public void setPemDecryptKey(String PemDecryptKey)
Set 私钥的解密密钥。 openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。- Parameters:
PemDecryptKey- 私钥的解密密钥。 openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。 请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。
-
getBailorId
public Long getBailorId()
Get 委托者Id,适用于托管自身证书的客户。普通客户无需填该字段。- Returns:
- BailorId 委托者Id,适用于托管自身证书的客户。普通客户无需填该字段。
-
setBailorId
public void setBailorId(Long BailorId)
Set 委托者Id,适用于托管自身证书的客户。普通客户无需填该字段。- Parameters:
BailorId- 委托者Id,适用于托管自身证书的客户。普通客户无需填该字段。
-
getPriority
public Long getPriority()
Get 私钥的优先级,优先级数值越高,优先级越高。 该值可以不传,后台将自动分配一个优先级。- Returns:
- Priority 私钥的优先级,优先级数值越高,优先级越高。 该值可以不传,后台将自动分配一个优先级。
-
setPriority
public void setPriority(Long Priority)
Set 私钥的优先级,优先级数值越高,优先级越高。 该值可以不传,后台将自动分配一个优先级。- Parameters:
Priority- 私钥的优先级,优先级数值越高,优先级越高。 该值可以不传,后台将自动分配一个优先级。
-
-