Class DescribeAllKeysResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.drm.v20181115.models.DescribeAllKeysResponse
-
public class DescribeAllKeysResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeAllKeysResponse()DescribeAllKeysResponse(DescribeAllKeysResponse 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 StringgetContentId()Get 内容ID 注意:此字段可能返回 null,表示取不到有效值。Key[]getKeys()Get 加密密钥列表。 注意:此字段可能返回 null,表示取不到有效值。StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。StringgetSessionKey()Get 用来加密密钥。 如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。 如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。 注意:此字段可能返回 null,表示取不到有效值。voidsetContentId(String ContentId)Set 内容ID 注意:此字段可能返回 null,表示取不到有效值。voidsetKeys(Key[] Keys)Set 加密密钥列表。 注意:此字段可能返回 null,表示取不到有效值。voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetSessionKey(String SessionKey)Set 用来加密密钥。 如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。 如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。 注意:此字段可能返回 null,表示取不到有效值。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
-
DescribeAllKeysResponse
public DescribeAllKeysResponse()
-
DescribeAllKeysResponse
public DescribeAllKeysResponse(DescribeAllKeysResponse 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
-
getKeys
public Key[] getKeys()
Get 加密密钥列表。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Keys 加密密钥列表。 注意:此字段可能返回 null,表示取不到有效值。
-
setKeys
public void setKeys(Key[] Keys)
Set 加密密钥列表。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Keys- 加密密钥列表。 注意:此字段可能返回 null,表示取不到有效值。
-
getSessionKey
public String getSessionKey()
Get 用来加密密钥。 如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。 如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SessionKey 用来加密密钥。 如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。 如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。 注意:此字段可能返回 null,表示取不到有效值。
-
setSessionKey
public void setSessionKey(String SessionKey)
Set 用来加密密钥。 如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。 如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SessionKey- 用来加密密钥。 如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。 如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。 注意:此字段可能返回 null,表示取不到有效值。
-
getContentId
public String getContentId()
Get 内容ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ContentId 内容ID 注意:此字段可能返回 null,表示取不到有效值。
-
setContentId
public void setContentId(String ContentId)
Set 内容ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ContentId- 内容ID 注意:此字段可能返回 null,表示取不到有效值。
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-