public class SPacketEncryptionRequest extends java.lang.Object implements Packet<INetHandlerLoginClient>
Constructor and Description |
---|
SPacketEncryptionRequest() |
SPacketEncryptionRequest(java.lang.String serverIdIn,
java.security.PublicKey publicKeyIn,
byte[] verifyTokenIn) |
Modifier and Type | Method and Description |
---|---|
java.security.PublicKey |
getPublicKey() |
java.lang.String |
getServerId() |
byte[] |
getVerifyToken() |
void |
processPacket(INetHandlerLoginClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public SPacketEncryptionRequest()
public SPacketEncryptionRequest(java.lang.String serverIdIn, java.security.PublicKey publicKeyIn, byte[] verifyTokenIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerLoginClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerLoginClient>
java.io.IOException
public void processPacket(INetHandlerLoginClient handler)
processPacket
in interface Packet<INetHandlerLoginClient>
public java.lang.String getServerId()
public java.security.PublicKey getPublicKey()
public byte[] getVerifyToken()