public class SEncryptionRequestPacket extends java.lang.Object implements IPacket<IClientLoginNetHandler>
| 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, waitshouldSkipErrorspublic 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.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface IPacket<IClientLoginNetHandler>java.io.IOExceptionpublic void processPacket(IClientLoginNetHandler handler)
processPacket in interface IPacket<IClientLoginNetHandler>public java.lang.String getServerId()
public java.security.PublicKey getPublicKey()
public byte[] getVerifyToken()