public class CipherMessage extends Object
| Constructor and Description |
|---|
CipherMessage()
Constructs cipher message
|
CipherMessage(byte[] encryption,
byte[] signature)
Constructs cipher message
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public CipherMessage(byte[] encryption,
byte[] signature)
encryption - encrypted cipher messagesignature - message signaturepublic CipherMessage()
public byte[] getBytes()
public void setEncryption(byte[] encryption)
encryption - encrypted messagepublic byte[] getEncryption()
public void setSignature(byte[] signature)
signature - message signaturepublic byte[] getSignature()
Copyright © 2024. All rights reserved.