Class ReEncryptRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.kms.v20190118.models.ReEncryptRequest
-
public class ReEncryptRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCiphertextBlob()Get 需要重新加密的密文StringgetDestinationEncryptionContext()Get 重新加密使用的key/value对的json字符串,如果使用该字段,则返回的新密文在解密时需要填入相同的字符串StringgetDestinationKeyId()Get 重新加密使用的CMK,如果为空,则使用密文原有的CMK重新加密(若密钥没有轮换则密文不会刷新)StringgetSourceEncryptionContext()Get CiphertextBlob 密文加密时使用的key/value对的json字符串。如果加密时未使用,则为空voidsetCiphertextBlob(String CiphertextBlob)Set 需要重新加密的密文voidsetDestinationEncryptionContext(String DestinationEncryptionContext)Set 重新加密使用的key/value对的json字符串,如果使用该字段,则返回的新密文在解密时需要填入相同的字符串voidsetDestinationKeyId(String DestinationKeyId)Set 重新加密使用的CMK,如果为空,则使用密文原有的CMK重新加密(若密钥没有轮换则密文不会刷新)voidsetSourceEncryptionContext(String SourceEncryptionContext)Set CiphertextBlob 密文加密时使用的key/value对的json字符串。如果加密时未使用,则为空voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ReEncryptRequest
public ReEncryptRequest()
-
ReEncryptRequest
public 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.
-
-
Method Detail
-
getCiphertextBlob
public String getCiphertextBlob()
Get 需要重新加密的密文- Returns:
- CiphertextBlob 需要重新加密的密文
-
setCiphertextBlob
public void setCiphertextBlob(String CiphertextBlob)
Set 需要重新加密的密文- Parameters:
CiphertextBlob- 需要重新加密的密文
-
getDestinationKeyId
public String getDestinationKeyId()
Get 重新加密使用的CMK,如果为空,则使用密文原有的CMK重新加密(若密钥没有轮换则密文不会刷新)- Returns:
- DestinationKeyId 重新加密使用的CMK,如果为空,则使用密文原有的CMK重新加密(若密钥没有轮换则密文不会刷新)
-
setDestinationKeyId
public void setDestinationKeyId(String DestinationKeyId)
Set 重新加密使用的CMK,如果为空,则使用密文原有的CMK重新加密(若密钥没有轮换则密文不会刷新)- Parameters:
DestinationKeyId- 重新加密使用的CMK,如果为空,则使用密文原有的CMK重新加密(若密钥没有轮换则密文不会刷新)
-
getSourceEncryptionContext
public String getSourceEncryptionContext()
Get CiphertextBlob 密文加密时使用的key/value对的json字符串。如果加密时未使用,则为空- Returns:
- SourceEncryptionContext CiphertextBlob 密文加密时使用的key/value对的json字符串。如果加密时未使用,则为空
-
setSourceEncryptionContext
public void setSourceEncryptionContext(String SourceEncryptionContext)
Set CiphertextBlob 密文加密时使用的key/value对的json字符串。如果加密时未使用,则为空- Parameters:
SourceEncryptionContext- CiphertextBlob 密文加密时使用的key/value对的json字符串。如果加密时未使用,则为空
-
getDestinationEncryptionContext
public String getDestinationEncryptionContext()
Get 重新加密使用的key/value对的json字符串,如果使用该字段,则返回的新密文在解密时需要填入相同的字符串- Returns:
- DestinationEncryptionContext 重新加密使用的key/value对的json字符串,如果使用该字段,则返回的新密文在解密时需要填入相同的字符串
-
setDestinationEncryptionContext
public void setDestinationEncryptionContext(String DestinationEncryptionContext)
Set 重新加密使用的key/value对的json字符串,如果使用该字段,则返回的新密文在解密时需要填入相同的字符串- Parameters:
DestinationEncryptionContext- 重新加密使用的key/value对的json字符串,如果使用该字段,则返回的新密文在解密时需要填入相同的字符串
-
-