public class ProcessedInitPacket extends InitPacket
Modifier and Type | Field and Description |
---|---|
private byte[] |
requestChannelKey |
private byte[] |
responseChannelKey |
CHANNEL_KEY_ONION_SIZE, PAYLOAD_SIZE
TYPE_BYTE_SIZE, TYPE_DATA, TYPE_INIT, TYPE_INIT_RESPONSE
Constructor and Description |
---|
ProcessedInitPacket(int channelID,
byte[] messageID,
byte[] requestChannelKey,
byte[] responseChannelKey,
PublicKey element,
byte[] processedChannelOnion,
byte[] processedPayloadOnion) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
byte[] |
getRequestChannelKey() |
byte[] |
getResponseChannelKey() |
equals, getChannelID, getChannelKeyOnion, getData, getMessageID, getPacketType, getPayloadOnion, getPublicKey
private final byte[] requestChannelKey
private final byte[] responseChannelKey
public ProcessedInitPacket(int channelID, byte[] messageID, byte[] requestChannelKey, byte[] responseChannelKey, PublicKey element, byte[] processedChannelOnion, byte[] processedPayloadOnion)
public byte[] getRequestChannelKey()
public byte[] getResponseChannelKey()
public boolean equals(java.lang.Object obj)
equals
in class InitPacket
Copyright © 2023. All rights reserved.