public class EncryptRequest extends AbstractModel
Constructor and Description |
---|
EncryptRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getEncryptionContext()
Get key/value对的json字符串,如果指定了该参数,则在调用Decrypt API时需要提供同样的参数,最大支持1024个字符
|
String |
getKeyId()
Get 调用CreateKey生成的CMK全局唯一标识符
|
String |
getPlaintext()
Get 被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4K
|
void |
setEncryptionContext(String EncryptionContext)
Set key/value对的json字符串,如果指定了该参数,则在调用Decrypt API时需要提供同样的参数,最大支持1024个字符
|
void |
setKeyId(String KeyId)
Set 调用CreateKey生成的CMK全局唯一标识符
|
void |
setPlaintext(String Plaintext)
Set 被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4K
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getKeyId()
public void setKeyId(String KeyId)
KeyId
- 调用CreateKey生成的CMK全局唯一标识符public String getPlaintext()
public void setPlaintext(String Plaintext)
Plaintext
- 被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4Kpublic String getEncryptionContext()
public void setEncryptionContext(String EncryptionContext)
EncryptionContext
- key/value对的json字符串,如果指定了该参数,则在调用Decrypt API时需要提供同样的参数,最大支持1024个字符Copyright © 2020. All rights reserved.