类 CipherMessage
- java.lang.Object
-
- com.baidubce.services.iothisk.device.model.CipherMessage
-
public class CipherMessage extends Object
Represent the cipher message
-
-
构造器概要
构造器 构造器 说明 CipherMessage()Constructs cipher messageCipherMessage(byte[] encryption, byte[] signature)Constructs cipher message
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 byte[]getBytes()Get cipher message, including encrypted message and message signaturebyte[]getEncryption()Get encrypted messagebyte[]getSignature()Get message signaturevoidsetEncryption(byte[] encryption)Set encrypted messagevoidsetSignature(byte[] signature)Set message signature
-
-
-
方法详细资料
-
getBytes
public byte[] getBytes()
Get cipher message, including encrypted message and message signature- 返回:
- cipher message in byte array
-
setEncryption
public void setEncryption(byte[] encryption)
Set encrypted message- 参数:
encryption- encrypted message
-
getEncryption
public byte[] getEncryption()
Get encrypted message- 返回:
- encrypted message
-
setSignature
public void setSignature(byte[] signature)
Set message signature- 参数:
signature- message signature
-
getSignature
public byte[] getSignature()
Get message signature- 返回:
- message signature
-
-