Class PostQuantumCryptoEncryptRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.kms.v20190118.models.PostQuantumCryptoEncryptRequest
-
public class PostQuantumCryptoEncryptRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description PostQuantumCryptoEncryptRequest()PostQuantumCryptoEncryptRequest(PostQuantumCryptoEncryptRequest 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 StringgetKeyId()Get 调用CreateKey生成的CMK全局唯一标识符StringgetPlainText()Get 被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4KvoidsetKeyId(String KeyId)Set 调用CreateKey生成的CMK全局唯一标识符voidsetPlainText(String PlainText)Set 被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4KvoidtoMap(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
-
PostQuantumCryptoEncryptRequest
public PostQuantumCryptoEncryptRequest()
-
PostQuantumCryptoEncryptRequest
public PostQuantumCryptoEncryptRequest(PostQuantumCryptoEncryptRequest 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
-
getKeyId
public String getKeyId()
Get 调用CreateKey生成的CMK全局唯一标识符- Returns:
- KeyId 调用CreateKey生成的CMK全局唯一标识符
-
setKeyId
public void setKeyId(String KeyId)
Set 调用CreateKey生成的CMK全局唯一标识符- Parameters:
KeyId- 调用CreateKey生成的CMK全局唯一标识符
-
getPlainText
public String getPlainText()
Get 被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4K- Returns:
- PlainText 被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4K
-
setPlainText
public void setPlainText(String PlainText)
Set 被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4K- Parameters:
PlainText- 被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4K
-
-