public static final class DecryptRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DecryptRequest |
build() |
DecryptRequest.Builder |
ciphertextBlob(String ciphertextBlob)
The ciphertext that you want to decrypt.
|
DecryptRequest.Builder |
encryptionContext(Map<String,?> encryptionContext)
The JSON string that consists of key-value pairs.
|
public DecryptRequest.Builder ciphertextBlob(String ciphertextBlob)
You can generate the ciphertext by calling the following operations: * [GenerateDataKey](~~28948~~) * [Encrypt](~~28949~~) * [GenerateDataKeyWithoutPlaintext](~~134043~~)
public DecryptRequest.Builder encryptionContext(Map<String,?> encryptionContext)
> If you specify the EncryptionContext parameter when you call the [GenerateDataKey](~~28948~~), [Encrypt](~~28949~~), or [GenerateDataKeyWithoutPlaintext](~~134043~~) operation, you must specify the same context when you call the Decrypt operation. For more information, see [EncryptionContext](~~42975~~).
public DecryptRequest build()
Copyright © 2023. All rights reserved.