public class SEncryptionRequestPacket extends java.lang.Object implements IPacket<IClientLoginNetHandler>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hashedServerId |
private java.security.PublicKey |
publicKey |
private byte[] |
verifyToken |
Constructor and Description |
---|
SEncryptionRequestPacket() |
SEncryptionRequestPacket(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(IClientLoginNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private java.lang.String hashedServerId
private java.security.PublicKey publicKey
private byte[] verifyToken
public SEncryptionRequestPacket()
public SEncryptionRequestPacket(java.lang.String serverIdIn, java.security.PublicKey publicKeyIn, byte[] verifyTokenIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientLoginNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientLoginNetHandler>
java.io.IOException
public void processPacket(IClientLoginNetHandler handler)
processPacket
in interface IPacket<IClientLoginNetHandler>
public java.lang.String getServerId()
public java.security.PublicKey getPublicKey()
public byte[] getVerifyToken()