构造器和说明 |
---|
TencentCloudKMSClient(java.lang.String region,
QCloudCredentialProvider credentialProvider) |
限定符和类型 | 方法和说明 |
---|---|
void |
assetCredentials() |
com.tencentcloudapi.kms.v20190118.models.DecryptResponse |
decrypt(com.tencentcloudapi.kms.v20190118.models.DecryptRequest decryptRequest)
Decrypts ciphertext that was encrypted by a KMS customer master key (CMK) using any of the following
operations:
generateDataKey
|
com.tencentcloudapi.kms.v20190118.models.EncryptResponse |
encrypt(com.tencentcloudapi.kms.v20190118.models.EncryptRequest encryptRequest)
Encrypts plaintext into ciphertext by using a customer master key (CMK).
|
com.tencentcloudapi.kms.v20190118.models.GenerateDataKeyResponse |
generateDataKey(com.tencentcloudapi.kms.v20190118.models.GenerateDataKeyRequest generateDataKeyRequest)
Generates a unique symmetric data key for client-side encryption.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
public TencentCloudKMSClient(java.lang.String region, QCloudCredentialProvider credentialProvider)
public void assetCredentials() throws CosXmlClientException
public com.tencentcloudapi.kms.v20190118.models.GenerateDataKeyResponse generateDataKey(com.tencentcloudapi.kms.v20190118.models.GenerateDataKeyRequest generateDataKeyRequest) throws CosXmlClientException
generateDataKey
在接口中 QCLOUDKMS
generateDataKeyRequest
- GenerateDataKeyRequestCosXmlClientException
public com.tencentcloudapi.kms.v20190118.models.EncryptResponse encrypt(com.tencentcloudapi.kms.v20190118.models.EncryptRequest encryptRequest) throws CosXmlClientException
encrypt
在接口中 QCLOUDKMS
encryptRequest
- EncryptRequestCosXmlClientException
- CosXmlClientExceptionpublic com.tencentcloudapi.kms.v20190118.models.DecryptResponse decrypt(com.tencentcloudapi.kms.v20190118.models.DecryptRequest decryptRequest) throws CosXmlClientException
decrypt
在接口中 QCLOUDKMS
decryptRequest
- DecryptRequestCosXmlClientException
public void shutdown()
QCLOUDKMS