public class EncryptionResponsePacket extends MinecraftPacket
| Constructor and Description |
|---|
EncryptionResponsePacket(SecretKey secretKey,
PublicKey publicKey,
byte[] verifyToken) |
| Modifier and Type | Method and Description |
|---|---|
SecretKey |
getSecretKey(PrivateKey privateKey) |
byte[] |
getVerifyToken(PrivateKey privateKey) |
boolean |
isPriority() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
toStringpublic SecretKey getSecretKey(PrivateKey privateKey)
public byte[] getVerifyToken(PrivateKey privateKey)
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionpublic boolean isPriority()
isPriority in interface com.github.steveice10.packetlib.packet.PacketisPriority in class MinecraftPacketCopyright © 2020. All rights reserved.