Uses of Class
net.minecraft.util.CryptException
Packages that use CryptException
Package
Description
-
Uses of CryptException in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer that throw CryptExceptionModifier and TypeMethodDescriptionprivate ProfileKeyPair
AccountProfileKeyPairManager.fetchProfileKeyPair
(com.mojang.authlib.minecraft.UserApiService p_253844_) private static ProfilePublicKey.Data
AccountProfileKeyPairManager.parsePublicKey
(com.mojang.authlib.yggdrasil.response.KeyPairResponse p_253834_) -
Uses of CryptException in net.minecraft.network.protocol.login
Methods in net.minecraft.network.protocol.login that throw CryptExceptionModifier and TypeMethodDescriptionClientboundHelloPacket.getPublicKey()
ServerboundKeyPacket.getSecretKey
(PrivateKey pKey) Constructors in net.minecraft.network.protocol.login that throw CryptExceptionModifierConstructorDescriptionServerboundKeyPacket
(SecretKey pSecretKey, PublicKey pPublicKey, byte[] pChallenge) -
Uses of CryptException in net.minecraft.util
Methods in net.minecraft.util that throw CryptExceptionModifier and TypeMethodDescriptionCrypt.ByteArrayToKeyFunction.apply
(byte[] pBytes) private static PrivateKey
Crypt.byteToPrivateKey
(byte[] p_216083_) static PublicKey
Crypt.byteToPublicKey
(byte[] p_13601_) Create a new PublicKey from encoded X.509 dataprivate static byte[]
Crypt.cipherData
(int pOpMode, Key pKey, byte[] pData) Encrypt or decrypt byte[] data using the specified keystatic SecretKey
Crypt.decryptByteToSecretKey
(PrivateKey pKey, byte[] pSecretKeyEncrypted) Decrypt shared secret AES key using RSA private keystatic byte[]
Crypt.decryptUsingKey
(Key pKey, byte[] pData) Decrypt byte[] data with RSA private keystatic byte[]
Crypt.digestData
(String pServerId, PublicKey pPublicKey, SecretKey pSecretKey) Compute a serverId hash for use by sendSessionRequest()static byte[]
Crypt.encryptUsingKey
(Key pKey, byte[] pData) Encrypt byte[] data with RSA public keystatic KeyPair
Crypt.generateKeyPair()
static SecretKey
Crypt.generateSecretKey()
static Cipher
Creates a Cipher instance using the AES/CFB8/NoPadding algorithm.private static <T extends Key>
TCrypt.rsaStringToKey
(String pKeyBase64, String pHeader, String pFooter, Crypt.ByteArrayToKeyFunction<T> pKeyFunction) static PrivateKey
Crypt.stringToPemRsaPrivateKey
(String pKeyBase64) static PublicKey
Crypt.stringToRsaPublicKey
(String pKeyBase64)