类 AccountProfileKeyPairManager
java.lang.Object
net.minecraft.client.multiplayer.AccountProfileKeyPairManager
- 所有已实现的接口:
ProfileKeyPairManager
-
字段概要
字段修饰符和类型字段说明private CompletableFuture
<Optional<ProfileKeyPair>> private static final org.slf4j.Logger
private static final Duration
private Instant
private static final Path
private final Path
private final com.mojang.authlib.minecraft.UserApiService
从接口继承的字段 net.minecraft.client.multiplayer.ProfileKeyPairManager
EMPTY_KEY_MANAGER
-
构造器概要
构造器构造器说明AccountProfileKeyPairManager
(com.mojang.authlib.minecraft.UserApiService p_253640_, UUID p_254415_, Path p_253813_) -
方法概要
修饰符和类型方法说明private ProfileKeyPair
fetchProfileKeyPair
(com.mojang.authlib.minecraft.UserApiService p_253844_) private static ProfilePublicKey.Data
parsePublicKey
(com.mojang.authlib.yggdrasil.response.KeyPairResponse p_253834_) private CompletableFuture
<Optional<ProfileKeyPair>> readOrFetchProfileKeyPair
(Optional<ProfileKeyPair> p_254074_) private Optional
<ProfileKeyPair> boolean
private void
writeProfileKeyPair
(ProfileKeyPair p_254227_)
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
MINIMUM_PROFILE_KEY_REFRESH_INTERVAL
-
PROFILE_KEY_PAIR_DIR
-
userApiService
private final com.mojang.authlib.minecraft.UserApiService userApiService -
profileKeyPairPath
-
keyPair
-
nextProfileKeyRefreshTime
-
-
构造器详细资料
-
AccountProfileKeyPairManager
-
-
方法详细资料
-
prepareKeyPair
- 指定者:
prepareKeyPair
在接口中ProfileKeyPairManager
-
shouldRefreshKeyPair
public boolean shouldRefreshKeyPair()- 指定者:
shouldRefreshKeyPair
在接口中ProfileKeyPairManager
-
readOrFetchProfileKeyPair
private CompletableFuture<Optional<ProfileKeyPair>> readOrFetchProfileKeyPair(Optional<ProfileKeyPair> p_254074_) -
readProfileKeyPair
-
writeProfileKeyPair
-
fetchProfileKeyPair
@Nullable private ProfileKeyPair fetchProfileKeyPair(com.mojang.authlib.minecraft.UserApiService p_253844_) throws CryptException, IOException -
parsePublicKey
private static ProfilePublicKey.Data parsePublicKey(com.mojang.authlib.yggdrasil.response.KeyPairResponse p_253834_) throws CryptException - 抛出:
CryptException
-