Class AsymmetricSm2DecryptRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.kms.v20190118.models.AsymmetricSm2DecryptRequest
-
public class AsymmetricSm2DecryptRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AsymmetricSm2DecryptRequest()AsymmetricSm2DecryptRequest(AsymmetricSm2DecryptRequest 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 StringgetCiphertext()Get 使用PublicKey加密的密文,Base64编码。密文长度不能超过256字节。StringgetKeyId()Get CMK的唯一标识voidsetCiphertext(String Ciphertext)Set 使用PublicKey加密的密文,Base64编码。密文长度不能超过256字节。voidsetKeyId(String KeyId)Set CMK的唯一标识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
-
AsymmetricSm2DecryptRequest
public AsymmetricSm2DecryptRequest()
-
AsymmetricSm2DecryptRequest
public AsymmetricSm2DecryptRequest(AsymmetricSm2DecryptRequest 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
-
getKeyId
public String getKeyId()
Get CMK的唯一标识- Returns:
- KeyId CMK的唯一标识
-
setKeyId
public void setKeyId(String KeyId)
Set CMK的唯一标识- Parameters:
KeyId- CMK的唯一标识
-
getCiphertext
public String getCiphertext()
Get 使用PublicKey加密的密文,Base64编码。密文长度不能超过256字节。- Returns:
- Ciphertext 使用PublicKey加密的密文,Base64编码。密文长度不能超过256字节。
-
setCiphertext
public void setCiphertext(String Ciphertext)
Set 使用PublicKey加密的密文,Base64编码。密文长度不能超过256字节。- Parameters:
Ciphertext- 使用PublicKey加密的密文,Base64编码。密文长度不能超过256字节。
-
-