public class PostQuantumCryptoDecryptRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
PostQuantumCryptoDecryptRequest() |
PostQuantumCryptoDecryptRequest(PostQuantumCryptoDecryptRequest 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 |
getCiphertextBlob()
Get The ciphertext data to be decrypted.
|
String |
getEncryptionAlgorithm()
Get Asymmetric encryption algorithm.
|
String |
getEncryptionPublicKey()
Get PEM-encoded public key (2048-bit RSA/SM2 key), which can be used to encrypt the `Plaintext` returned.
|
void |
setCiphertextBlob(String CiphertextBlob)
Set The ciphertext data to be decrypted.
|
void |
setEncryptionAlgorithm(String EncryptionAlgorithm)
Set Asymmetric encryption algorithm.
|
void |
setEncryptionPublicKey(String EncryptionPublicKey)
Set PEM-encoded public key (2048-bit RSA/SM2 key), which can be used to encrypt the `Plaintext` returned.
|
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 PostQuantumCryptoDecryptRequest()
public PostQuantumCryptoDecryptRequest(PostQuantumCryptoDecryptRequest source)
public String getCiphertextBlob()
public void setCiphertextBlob(String CiphertextBlob)
CiphertextBlob
- The ciphertext data to be decrypted.public String getEncryptionPublicKey()
public void setEncryptionPublicKey(String EncryptionPublicKey)
EncryptionPublicKey
- PEM-encoded public key (2048-bit RSA/SM2 key), which can be used to encrypt the `Plaintext` returned. If this field is left empty, the `Plaintext` will not be encrypted.public String getEncryptionAlgorithm()
public void setEncryptionAlgorithm(String EncryptionAlgorithm)
EncryptionAlgorithm
- Asymmetric encryption algorithm. It is used in combination with `EncryptionPublicKey` to encrypt the returned data. u200dValues: `SM2` u200d(Return the ciphertext in the format of "C1C3C2"), `SM2_C1C3C2_ASN1` (Return the ciphertext in the format of "C1C3C2 ASN1"), `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1`, `RSAES_OAEP_SHA_256`. It defaults to `SM2` if it's not specified.Copyright © 2024. All rights reserved.