public static final class ExportDataKeyRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ExportDataKeyRequest |
build() |
ExportDataKeyRequest.Builder |
ciphertextBlob(String ciphertextBlob)
The ciphertext of the data key encrypted by using a CMK.
|
ExportDataKeyRequest.Builder |
encryptionContext(Map<String,?> encryptionContext)
A JSON string that consists of key-value pairs.
|
ExportDataKeyRequest.Builder |
publicKeyBlob(String publicKeyBlob)
A Base64-encoded public key.
|
ExportDataKeyRequest.Builder |
wrappingAlgorithm(String wrappingAlgorithm)
The encryption algorithm based on which you want to use the public key specified by PublicKeyBlob to encrypt the data key.
|
ExportDataKeyRequest.Builder |
wrappingKeySpec(String wrappingKeySpec)
The key type of the public key specified by PublicKeyBlob.
|
public ExportDataKeyRequest.Builder ciphertextBlob(String ciphertextBlob)
public ExportDataKeyRequest.Builder encryptionContext(Map<String,?> encryptionContext)
public ExportDataKeyRequest.Builder publicKeyBlob(String publicKeyBlob)
public ExportDataKeyRequest.Builder wrappingAlgorithm(String wrappingAlgorithm)
Valid values: * RSAES_OAEP_SHA\_256 * RSAES_OAEP_SHA\_1 * SM2PKE
public ExportDataKeyRequest.Builder wrappingKeySpec(String wrappingKeySpec)
Valid values: * RSA\_2048 * EC_SM2
public ExportDataKeyRequest build()
Copyright © 2023. All rights reserved.