Class GetParametersForImportRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.kms.v20190118.models.GetParametersForImportRequest
-
public class GetParametersForImportRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description GetParametersForImportRequest()GetParametersForImportRequest(GetParametersForImportRequest 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 StringgetKeyId()Get CMK的唯一标识,获取密钥参数的CMK必须是EXTERNAL类型,即在CreateKey时指定Type=2 类型的CMK。StringgetWrappingAlgorithm()Get 指定加密密钥材料的算法,目前支持RSAES_PKCS1_V1_5、RSAES_OAEP_SHA_1、RSAES_OAEP_SHA_256StringgetWrappingKeySpec()Get 指定加密密钥材料的类型,目前只支持RSA_2048voidsetKeyId(String KeyId)Set CMK的唯一标识,获取密钥参数的CMK必须是EXTERNAL类型,即在CreateKey时指定Type=2 类型的CMK。voidsetWrappingAlgorithm(String WrappingAlgorithm)Set 指定加密密钥材料的算法,目前支持RSAES_PKCS1_V1_5、RSAES_OAEP_SHA_1、RSAES_OAEP_SHA_256voidsetWrappingKeySpec(String WrappingKeySpec)Set 指定加密密钥材料的类型,目前只支持RSA_2048voidtoMap(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
-
GetParametersForImportRequest
public GetParametersForImportRequest()
-
GetParametersForImportRequest
public GetParametersForImportRequest(GetParametersForImportRequest 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的唯一标识,获取密钥参数的CMK必须是EXTERNAL类型,即在CreateKey时指定Type=2 类型的CMK。- Returns:
- KeyId CMK的唯一标识,获取密钥参数的CMK必须是EXTERNAL类型,即在CreateKey时指定Type=2 类型的CMK。
-
setKeyId
public void setKeyId(String KeyId)
Set CMK的唯一标识,获取密钥参数的CMK必须是EXTERNAL类型,即在CreateKey时指定Type=2 类型的CMK。- Parameters:
KeyId- CMK的唯一标识,获取密钥参数的CMK必须是EXTERNAL类型,即在CreateKey时指定Type=2 类型的CMK。
-
getWrappingAlgorithm
public String getWrappingAlgorithm()
Get 指定加密密钥材料的算法,目前支持RSAES_PKCS1_V1_5、RSAES_OAEP_SHA_1、RSAES_OAEP_SHA_256- Returns:
- WrappingAlgorithm 指定加密密钥材料的算法,目前支持RSAES_PKCS1_V1_5、RSAES_OAEP_SHA_1、RSAES_OAEP_SHA_256
-
setWrappingAlgorithm
public void setWrappingAlgorithm(String WrappingAlgorithm)
Set 指定加密密钥材料的算法,目前支持RSAES_PKCS1_V1_5、RSAES_OAEP_SHA_1、RSAES_OAEP_SHA_256- Parameters:
WrappingAlgorithm- 指定加密密钥材料的算法,目前支持RSAES_PKCS1_V1_5、RSAES_OAEP_SHA_1、RSAES_OAEP_SHA_256
-
getWrappingKeySpec
public String getWrappingKeySpec()
Get 指定加密密钥材料的类型,目前只支持RSA_2048- Returns:
- WrappingKeySpec 指定加密密钥材料的类型,目前只支持RSA_2048
-
setWrappingKeySpec
public void setWrappingKeySpec(String WrappingKeySpec)
Set 指定加密密钥材料的类型,目前只支持RSA_2048- Parameters:
WrappingKeySpec- 指定加密密钥材料的类型,目前只支持RSA_2048
-
-