public class EncryptRequest extends AbstractModel
Constructor and Description |
---|
EncryptRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getEncryptionContext()
获取key/value对的json字符串,如果指定了该参数,则在调用Decrypt API时需要提供同样的参数,最大支持1024个字符
|
String |
getKeyId()
获取调用CreateKey生成的CMK全局唯一标识符
|
String |
getPlaintext()
获取被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4K
|
void |
setEncryptionContext(String EncryptionContext)
设置key/value对的json字符串,如果指定了该参数,则在调用Decrypt API时需要提供同样的参数,最大支持1024个字符
|
void |
setKeyId(String KeyId)
设置调用CreateKey生成的CMK全局唯一标识符
|
void |
setPlaintext(String Plaintext)
设置被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4K
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
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 © 2019. All rights reserved.