Class GetPublicKeyResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.kms.v20190118.models.GetPublicKeyResponse
-
public class GetPublicKeyResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description GetPublicKeyResponse()GetPublicKeyResponse(GetPublicKeyResponse 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的唯一标识。StringgetPublicKey()Get 经过base64编码的公钥内容。StringgetPublicKeyPem()Get PEM格式的公钥内容。StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetKeyId(String KeyId)Set CMK的唯一标识。voidsetPublicKey(String PublicKey)Set 经过base64编码的公钥内容。voidsetPublicKeyPem(String PublicKeyPem)Set PEM格式的公钥内容。voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。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
-
GetPublicKeyResponse
public GetPublicKeyResponse()
-
GetPublicKeyResponse
public GetPublicKeyResponse(GetPublicKeyResponse 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的唯一标识。
-
getPublicKey
public String getPublicKey()
Get 经过base64编码的公钥内容。- Returns:
- PublicKey 经过base64编码的公钥内容。
-
setPublicKey
public void setPublicKey(String PublicKey)
Set 经过base64编码的公钥内容。- Parameters:
PublicKey- 经过base64编码的公钥内容。
-
getPublicKeyPem
public String getPublicKeyPem()
Get PEM格式的公钥内容。- Returns:
- PublicKeyPem PEM格式的公钥内容。
-
setPublicKeyPem
public void setPublicKeyPem(String PublicKeyPem)
Set PEM格式的公钥内容。- Parameters:
PublicKeyPem- PEM格式的公钥内容。
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-