Package net.minecraft.client.multiplayer
Class AccountProfileKeyPairManager
java.lang.Object
net.minecraft.client.multiplayer.AccountProfileKeyPairManager
- All Implemented Interfaces:
- ProfileKeyPairManager
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate CompletableFuture<Optional<ProfileKeyPair>>private static final org.slf4j.Loggerprivate static final Durationprivate Instantprivate static final Pathprivate final Pathprivate final com.mojang.authlib.minecraft.UserApiServiceFields inherited from interface net.minecraft.client.multiplayer.ProfileKeyPairManagerEMPTY_KEY_MANAGER
- 
Constructor SummaryConstructorsConstructorDescriptionAccountProfileKeyPairManager(com.mojang.authlib.minecraft.UserApiService p_253640_, UUID p_254415_, Path p_253813_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate ProfileKeyPairfetchProfileKeyPair(com.mojang.authlib.minecraft.UserApiService p_253844_) private static ProfilePublicKey.DataparsePublicKey(com.mojang.authlib.yggdrasil.response.KeyPairResponse p_253834_) private CompletableFuture<Optional<ProfileKeyPair>>readOrFetchProfileKeyPair(Optional<ProfileKeyPair> p_254074_) private Optional<ProfileKeyPair>booleanprivate voidwriteProfileKeyPair(ProfileKeyPair p_254227_) 
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
MINIMUM_PROFILE_KEY_REFRESH_INTERVAL
- 
PROFILE_KEY_PAIR_DIR
- 
userApiServiceprivate final com.mojang.authlib.minecraft.UserApiService userApiService
- 
profileKeyPairPath
- 
keyPair
- 
nextProfileKeyRefreshTime
 
- 
- 
Constructor Details- 
AccountProfileKeyPairManager
 
- 
- 
Method Details- 
prepareKeyPair- Specified by:
- prepareKeyPairin interface- ProfileKeyPairManager
 
- 
shouldRefreshKeyPairpublic boolean shouldRefreshKeyPair()- Specified by:
- shouldRefreshKeyPairin interface- ProfileKeyPairManager
 
- 
readOrFetchProfileKeyPairprivate CompletableFuture<Optional<ProfileKeyPair>> readOrFetchProfileKeyPair(Optional<ProfileKeyPair> p_254074_) 
- 
readProfileKeyPair
- 
writeProfileKeyPair
- 
fetchProfileKeyPairprivate ProfileKeyPair fetchProfileKeyPair(com.mojang.authlib.minecraft.UserApiService p_253844_) throws CryptException, IOException - Throws:
- CryptException
- IOException
 
- 
parsePublicKeyprivate static ProfilePublicKey.Data parsePublicKey(com.mojang.authlib.yggdrasil.response.KeyPairResponse p_253834_) throws CryptException - Throws:
- CryptException
 
 
-