|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.services.iothisk.device.model.CipherMessage
public class CipherMessage
Represent the cipher message
| Constructor Summary | |
|---|---|
CipherMessage()
Constructs cipher message |
|
CipherMessage(byte[] encryption,
byte[] signature)
Constructs cipher message |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
Get cipher message, including encrypted message and message signature |
byte[] |
getEncryption()
Get encrypted message |
byte[] |
getSignature()
Get message signature |
void |
setEncryption(byte[] encryption)
Set encrypted message |
void |
setSignature(byte[] signature)
Set message signature |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CipherMessage(byte[] encryption,
byte[] signature)
encryption - encrypted cipher messagesignature - message signaturepublic CipherMessage()
| Method Detail |
|---|
public byte[] getBytes()
public void setEncryption(byte[] encryption)
encryption - encrypted messagepublic byte[] getEncryption()
public void setSignature(byte[] signature)
signature - message signaturepublic byte[] getSignature()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||