public class ReEncryptRequest extends AbstractModel
| Constructor and Description | 
|---|
| ReEncryptRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getCiphertextBlob()Get Ciphertext to be re-encrypted | 
| String | getDestinationEncryptionContext()Get JSON string of the key-value pair used during re-encryption. | 
| String | getDestinationKeyId()Get CMK used for re-encryption. | 
| String | getSourceEncryptionContext()Get JSON string of the key-value pair used during ciphertext encryption by `CiphertextBlob`. | 
| void | setCiphertextBlob(String CiphertextBlob)Set Ciphertext to be re-encrypted | 
| void | setDestinationEncryptionContext(String DestinationEncryptionContext)Set JSON string of the key-value pair used during re-encryption. | 
| void | setDestinationKeyId(String DestinationKeyId)Set CMK used for re-encryption. | 
| void | setSourceEncryptionContext(String SourceEncryptionContext)Set JSON string of the key-value pair used during ciphertext encryption by `CiphertextBlob`. | 
| 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, toJsonStringpublic String getCiphertextBlob()
public void setCiphertextBlob(String CiphertextBlob)
CiphertextBlob - Ciphertext to be re-encryptedpublic String getDestinationKeyId()
public void setDestinationKeyId(String DestinationKeyId)
DestinationKeyId - CMK used for re-encryption. If this parameter is empty, the ciphertext will be re-encrypted by using the original CMK (as long as the key is not rotated, the ciphertext will not be refreshed)public String getSourceEncryptionContext()
public void setSourceEncryptionContext(String SourceEncryptionContext)
SourceEncryptionContext - JSON string of the key-value pair used during ciphertext encryption by `CiphertextBlob`. If not used during encryption, this parameter will be emptypublic String getDestinationEncryptionContext()
public void setDestinationEncryptionContext(String DestinationEncryptionContext)
DestinationEncryptionContext - JSON string of the key-value pair used during re-encryption. If this field is used, the same string should be entered when the returned new ciphertext is decryptedCopyright © 2021. All rights reserved.