Uses of Class
net.minecraft.network.encryption.NetworkEncryptionException
Packages that use NetworkEncryptionException
Package
Description
-
Uses of NetworkEncryptionException in net.minecraft.client.session
Methods in net.minecraft.client.session that throw NetworkEncryptionExceptionModifier and TypeMethodDescriptionprivate static PlayerPublicKey.PublicKeyDataProfileKeysImpl.decodeKeyPairResponse(com.mojang.authlib.yggdrasil.response.KeyPairResponse keyPairResponse) ReturnskeyPairResponsedecoded toPlayerPublicKey.PublicKeyData.private @Nullable PlayerKeyPairProfileKeysImpl.fetchKeyPair(com.mojang.authlib.minecraft.UserApiService userApiService) Returns the key pair fetched from Mojang's server. -
Uses of NetworkEncryptionException in net.minecraft.network.encryption
Methods in net.minecraft.network.encryption that throw NetworkEncryptionExceptionModifier and TypeMethodDescriptionNetworkEncryptionUtils.KeyDecoder.apply(byte[] key) static CipherNetworkEncryptionUtils.cipherFromKey(int opMode, Key key) Creates an AES cipher from the key.static byte[]NetworkEncryptionUtils.computeServerId(String baseServerId, PublicKey publicKey, SecretKey secretKey) Returns the computed server ID.private static byte[]Low-level API to perform encryption or decryption operation.private static PrivateKeyNetworkEncryptionUtils.decodeEncodedRsaPrivateKey(byte[] key) Decodes a PCKS #8-encoded RSA private key.static PublicKeyNetworkEncryptionUtils.decodeEncodedRsaPublicKey(byte[] key) Decodes a X.509-encoded RSA public key.private static <T extends Key>
TNetworkEncryptionUtils.decodePem(String key, String prefix, String suffix, NetworkEncryptionUtils.KeyDecoder<T> decoder) Decodes a PEM-formatted string key.static PrivateKeyNetworkEncryptionUtils.decodeRsaPrivateKeyPem(String key) Decodes a PEM-formatted RSA private key.static PublicKeyNetworkEncryptionUtils.decodeRsaPublicKeyPem(String key) Decodes a PEM-formatted RSA public key.static byte[]Decrypts an encrypted data.static SecretKeyNetworkEncryptionUtils.decryptSecretKey(PrivateKey privateKey, byte[] encryptedSecretKey) Decrypts RSA-encrypted AES secret key.static byte[]Encrypts a data.static SecretKeyNetworkEncryptionUtils.generateSecretKey()Returns a new 128 bit AES secret key.static KeyPairNetworkEncryptionUtils.generateServerKeyPair()Returns a new 1024 bit RSA public/private key pair. -
Uses of NetworkEncryptionException in net.minecraft.network.packet.c2s.login
Methods in net.minecraft.network.packet.c2s.login that throw NetworkEncryptionExceptionConstructors in net.minecraft.network.packet.c2s.login that throw NetworkEncryptionExceptionModifierConstructorDescriptionLoginKeyC2SPacket(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