j_waste.network
Class InitialPacket2
java.lang.Object
j_waste.network.Packet
j_waste.network.InitialPacket2
- public class InitialPacket2
- extends Packet
This class represents the InitialPacket2 used during authentication.
- Version:
- 0.2
- Author:
- Fredrik Hultin (frehul@users.sourceforge.net)
|
Constructor Summary |
InitialPacket2(byte[] sPubCrypted)
Constructs a new InitialPacket2. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InitialPacket2
public InitialPacket2(byte[] sPubCrypted)
- Constructs a new InitialPacket2.
- Parameters:
sPubCrypted - The sPubCrypted of this packet.
getSPubCrypted
public byte[] getSPubCrypted()
- Returns the sPubCrypted of this packet.
- Returns:
- the sPubCrypted of this packet.
getSize
public static int getSize()
toByteArray
public byte[] toByteArray()
- Returns a byte array representation of the packet.
- Specified by:
toByteArray in class Packet
- Returns:
- a byte array representation of the packet.
finalizePacket
public void finalizePacket()
- Finalizes the packet.
- Specified by:
finalizePacket in class Packet