public class ReEncryptRequest extends AbstractModel
skipSign
Constructor and Description |
---|
ReEncryptRequest() |
ReEncryptRequest(ReEncryptRequest 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 需要重新加密的密文
|
String |
getDestinationEncryptionContext()
Get 重新加密使用的key/value对的json字符串,如果使用该字段,则返回的新密文在解密时需要填入相同的字符串
|
String |
getDestinationKeyId()
Get 重新加密使用的CMK,如果为空,则使用密文原有的CMK重新加密(若密钥没有轮换则密文不会刷新)
|
String |
getSourceEncryptionContext()
Get CiphertextBlob 密文加密时使用的key/value对的json字符串。如果加密时未使用,则为空
|
void |
setCiphertextBlob(String CiphertextBlob)
Set 需要重新加密的密文
|
void |
setDestinationEncryptionContext(String DestinationEncryptionContext)
Set 重新加密使用的key/value对的json字符串,如果使用该字段,则返回的新密文在解密时需要填入相同的字符串
|
void |
setDestinationKeyId(String DestinationKeyId)
Set 重新加密使用的CMK,如果为空,则使用密文原有的CMK重新加密(若密钥没有轮换则密文不会刷新)
|
void |
setSourceEncryptionContext(String SourceEncryptionContext)
Set CiphertextBlob 密文加密时使用的key/value对的json字符串。如果加密时未使用,则为空
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ReEncryptRequest()
public ReEncryptRequest(ReEncryptRequest source)
public String getCiphertextBlob()
public void setCiphertextBlob(String CiphertextBlob)
CiphertextBlob
- 需要重新加密的密文public String getDestinationKeyId()
public void setDestinationKeyId(String DestinationKeyId)
DestinationKeyId
- 重新加密使用的CMK,如果为空,则使用密文原有的CMK重新加密(若密钥没有轮换则密文不会刷新)public String getSourceEncryptionContext()
public void setSourceEncryptionContext(String SourceEncryptionContext)
SourceEncryptionContext
- CiphertextBlob 密文加密时使用的key/value对的json字符串。如果加密时未使用,则为空public String getDestinationEncryptionContext()
public void setDestinationEncryptionContext(String DestinationEncryptionContext)
DestinationEncryptionContext
- 重新加密使用的key/value对的json字符串,如果使用该字段,则返回的新密文在解密时需要填入相同的字符串Copyright © 2023. All rights reserved.