public class CipherRequest extends AbstractBceRequest
| Constructor and Description |
|---|
CipherRequest() |
| Modifier and Type | Method and Description |
|---|---|
EncodeType |
getCipherEncodeType()
Get the cipher message encoding type.
|
String |
getData()
Get the message data requiring for encryption / decryption.
|
EncodeType |
getType()
Get the message encoding type.
|
void |
setCipherEncodeType(EncodeType encodeType)
Set the cipher message encoding type.
|
void |
setData(String data)
Set the message data requiring for encryption / decryption.
|
void |
setType(EncodeType encodeType)
Set the message encoding type.
|
AbstractBceRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.
|
getRequestCredentials, setRequestCredentialspublic String getData()
public void setData(String data)
data - message data requiring for encryption / decryptionpublic EncodeType getType()
public void setType(EncodeType encodeType)
encodeType - message encoding typepublic EncodeType getCipherEncodeType()
public void setCipherEncodeType(EncodeType encodeType)
encodeType - cipher message encoding typepublic AbstractBceRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2022. All rights reserved.