Uses of Class
net.minecraft.network.encryption.NetworkEncryptionException
Package | Description |
---|---|
net.minecraft.network.encryption | |
net.minecraft.network.packet.c2s.login | |
net.minecraft.network.packet.s2c.login |
-
Uses of NetworkEncryptionException in net.minecraft.network.encryption
Methods in net.minecraft.network.encryption that throw NetworkEncryptionException Modifier and Type Method Description static Cipher
NetworkEncryptionUtils. cipherFromKey(int opMode, Key key)
private static byte[]
NetworkEncryptionUtils. crypt(int opMode, Key key, byte[] data)
static byte[]
NetworkEncryptionUtils. decrypt(Key key, byte[] data)
static SecretKey
NetworkEncryptionUtils. decryptSecretKey(PrivateKey privateKey, byte[] encryptedSecretKey)
static byte[]
NetworkEncryptionUtils. encrypt(Key key, byte[] data)
static SecretKey
NetworkEncryptionUtils. generateKey()
static byte[]
NetworkEncryptionUtils. generateServerId(String baseServerId, PublicKey publicKey, SecretKey secretKey)
static KeyPair
NetworkEncryptionUtils. generateServerKeyPair()
static PublicKey
NetworkEncryptionUtils. readEncodedPublicKey(byte[] byte2)
-
Uses of NetworkEncryptionException in net.minecraft.network.packet.c2s.login
Methods in net.minecraft.network.packet.c2s.login that throw NetworkEncryptionException Modifier and Type Method Description byte[]
LoginKeyC2SPacket. decryptNonce(PrivateKey privateKey)
SecretKey
LoginKeyC2SPacket. decryptSecretKey(PrivateKey privateKey)
Constructors in net.minecraft.network.packet.c2s.login that throw NetworkEncryptionException Constructor Description LoginKeyC2SPacket(SecretKey secretKey, PublicKey publicKey, byte[] nonce)
-
Uses of NetworkEncryptionException in net.minecraft.network.packet.s2c.login
Methods in net.minecraft.network.packet.s2c.login that throw NetworkEncryptionException Modifier and Type Method Description PublicKey
LoginHelloS2CPacket. getPublicKey()