Class CEncryptionResponsePacket
- java.lang.Object
-
- net.minecraft.network.login.client.CEncryptionResponsePacket
-
- All Implemented Interfaces:
IPacket<IServerLoginNetHandler>
public class CEncryptionResponsePacket extends java.lang.Object implements IPacket<IServerLoginNetHandler>
-
-
Constructor Summary
Constructors Constructor Description CEncryptionResponsePacket()
CEncryptionResponsePacket(javax.crypto.SecretKey p_i46851_1_, java.security.PublicKey p_i46851_2_, byte[] p_i46851_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getNonce(java.security.PrivateKey p_149299_1_)
javax.crypto.SecretKey
getSecretKey(java.security.PrivateKey p_149300_1_)
void
handle(IServerLoginNetHandler p_148833_1_)
void
read(PacketBuffer p_148837_1_)
void
write(PacketBuffer p_148840_1_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
-
-
-
Constructor Detail
-
CEncryptionResponsePacket
public CEncryptionResponsePacket()
-
CEncryptionResponsePacket
public CEncryptionResponsePacket(javax.crypto.SecretKey p_i46851_1_, java.security.PublicKey p_i46851_2_, byte[] p_i46851_3_) throws CryptException
- Throws:
CryptException
-
-
Method Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IServerLoginNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IServerLoginNetHandler>
- Throws:
java.io.IOException
-
handle
public void handle(IServerLoginNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IServerLoginNetHandler>
-
getSecretKey
public javax.crypto.SecretKey getSecretKey(java.security.PrivateKey p_149300_1_) throws CryptException
- Throws:
CryptException
-
getNonce
public byte[] getNonce(java.security.PrivateKey p_149299_1_) throws CryptException
- Throws:
CryptException
-
-