public class GetDataKeyPlaintextRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
GetDataKeyPlaintextRequest() |
GetDataKeyPlaintextRequest(GetDataKeyPlaintextRequest 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getDataKeyId()
Get Unique id of a data key.
|
String |
getEncryptionAlgorithm()
Get Asymmetric encryption algorithm, used in conjunction with EncryptionPublicKey to encrypt the returned data.
|
String |
getEncryptionPublicKey()
Get PEM formatted public key string, supporting RSA2048 and SM2 public keys, and used to encrypt the plaintext value in the returned data.
|
void |
setDataKeyId(String DataKeyId)
Set Unique id of a data key.
|
void |
setEncryptionAlgorithm(String EncryptionAlgorithm)
Set Asymmetric encryption algorithm, used in conjunction with EncryptionPublicKey to encrypt the returned data.
|
void |
setEncryptionPublicKey(String EncryptionPublicKey)
Set PEM formatted public key string, supporting RSA2048 and SM2 public keys, and used to encrypt the plaintext value in the returned data.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public GetDataKeyPlaintextRequest()
public GetDataKeyPlaintextRequest(GetDataKeyPlaintextRequest source)
public String getDataKeyId()
public void setDataKeyId(String DataKeyId)
DataKeyId
- Unique id of a data key.public String getEncryptionPublicKey()
public void setEncryptionPublicKey(String EncryptionPublicKey)
EncryptionPublicKey
- PEM formatted public key string, supporting RSA2048 and SM2 public keys, and used to encrypt the plaintext value in the returned data. If it is empty, plaintext value will not be encrypted.public String getEncryptionAlgorithm()
public void setEncryptionAlgorithm(String EncryptionAlgorithm)
EncryptionAlgorithm
- Asymmetric encryption algorithm, used in conjunction with EncryptionPublicKey to encrypt the returned data. It currently supports SM2 (returns ciphertext in C1C3C2 format), SM2_C1C3C2_ASN1 (returns ciphertext in C1C3C2 ASN1 format), RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, and RSAES_OAEP_SHA_256. If it is empty, the default value SM2 is used.Copyright © 2025. All rights reserved.