public class EncryptResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
EncryptResponse() |
EncryptResponse(EncryptResponse 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getCiphertextBlob()
Get Base64-encoded ciphertext, which is the encrypted information of the ciphertext and key.
|
String |
getKeyId()
Get Globally unique ID of the CMK used for encryption
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setCiphertextBlob(String CiphertextBlob)
Set Base64-encoded ciphertext, which is the encrypted information of the ciphertext and key.
|
void |
setKeyId(String KeyId)
Set Globally unique ID of the CMK used for encryption
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public EncryptResponse()
public EncryptResponse(EncryptResponse source)
public String getCiphertextBlob()
public void setCiphertextBlob(String CiphertextBlob)
CiphertextBlob
- Base64-encoded ciphertext, which is the encrypted information of the ciphertext and key. To get the plaintext, you need to pass in this field to the Decrypt API.public String getKeyId()
public void setKeyId(String KeyId)
KeyId
- Globally unique ID of the CMK used for encryptionpublic String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.