public class PostQuantumCryptoDecryptResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
PostQuantumCryptoDecryptResponse() |
PostQuantumCryptoDecryptResponse(PostQuantumCryptoDecryptResponse 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 |
getKeyId()
Get Globally unique CMK ID
|
String |
getPlainText()
Get If `EncryptionPublicKey` is left empty, a Base64-encoded ciphertext will be returned.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setKeyId(String KeyId)
Set Globally unique CMK ID
|
void |
setPlainText(String PlainText)
Set If `EncryptionPublicKey` is left empty, a Base64-encoded ciphertext will be returned.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
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 PostQuantumCryptoDecryptResponse()
public PostQuantumCryptoDecryptResponse(PostQuantumCryptoDecryptResponse source)
public String getKeyId()
public void setKeyId(String KeyId)
KeyId
- Globally unique CMK IDpublic String getPlainText()
public void setPlainText(String PlainText)
PlainText
- If `EncryptionPublicKey` is left empty, a Base64-encoded ciphertext will be returned. To get the plaintext, you need to decode the ciphertext first.
If `EncryptionPublicKey` is passed in, this field contains the Base64-encoded ciphertext after asymmetric encryption by using the public key in `EncryptionPublicKey` To get the plaintext, you need to first decode the Base64 format, and then decrypwith the private key corresponding with the public key. The private key is uploaded by the user.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2024. All rights reserved.