2022-04-28 11:20:42 -04:00
|
|
|
CLASS net/minecraft/class_7428 net/minecraft/network/encryption/PlayerPublicKey
|
2022-05-02 08:57:32 -04:00
|
|
|
COMMENT An RSA public key for a player, signed by the Mojang's server.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Users cannot generate the keys themselves; this must be provided from Mojang's
|
|
|
|
COMMENT authentication server.
|
|
|
|
COMMENT
|
2023-09-06 07:33:23 -04:00
|
|
|
COMMENT @see net.minecraft.client.session.ProfileKeys
|
2022-05-02 08:57:32 -04:00
|
|
|
COMMENT @see PlayerKeyPair
|
|
|
|
FIELD field_39050 CODEC Lcom/mojang/serialization/Codec;
|
2022-08-20 11:50:41 -04:00
|
|
|
FIELD field_39954 EXPIRED_PUBLIC_KEY_TEXT Lnet/minecraft/class_2561;
|
|
|
|
FIELD field_39955 EXPIRATION_GRACE_PERIOD Ljava/time/Duration;
|
|
|
|
FIELD field_39956 INVALID_PUBLIC_KEY_SIGNATURE_TEXT Lnet/minecraft/class_2561;
|
2023-08-09 11:28:38 -04:00
|
|
|
METHOD method_43550 verifyAndDecode (Lnet/minecraft/class_7500;Ljava/util/UUID;Lnet/minecraft/class_7428$class_7443;)Lnet/minecraft/class_7428;
|
2022-05-02 08:57:32 -04:00
|
|
|
COMMENT Verifies the public key and decodes it.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>The checks whether the public key is present, signed with the Mojang's private key,
|
2022-08-20 11:50:41 -04:00
|
|
|
COMMENT and not expired (taking into account the provided grace period).
|
2022-05-02 08:57:32 -04:00
|
|
|
COMMENT
|
2022-09-10 05:33:18 -04:00
|
|
|
COMMENT @throws PublicKeyException when the key is expired or malformed
|
2022-05-23 08:07:30 -04:00
|
|
|
ARG 0 servicesSignatureVerifier
|
2022-06-27 14:53:13 -04:00
|
|
|
ARG 1 playerUuid
|
|
|
|
ARG 2 publicKeyData
|
2022-05-18 12:58:03 -04:00
|
|
|
METHOD method_43697 createSignatureInstance ()Lnet/minecraft/class_7500;
|
2022-05-12 09:36:43 -04:00
|
|
|
CLASS class_7443 PublicKeyData
|
|
|
|
FIELD field_39119 CODEC Lcom/mojang/serialization/Codec;
|
2022-05-17 05:56:35 -04:00
|
|
|
FIELD field_39309 KEY_SIGNATURE_MAX_SIZE I
|
|
|
|
METHOD <init> (Lnet/minecraft/class_2540;)V
|
|
|
|
ARG 1 buf
|
2022-10-31 21:10:46 -04:00
|
|
|
METHOD equals (Ljava/lang/Object;)Z
|
|
|
|
ARG 1 o
|
2022-05-12 09:36:43 -04:00
|
|
|
METHOD method_43701 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
|
|
|
|
ARG 0 instance
|
2022-06-23 14:15:36 -04:00
|
|
|
METHOD method_43702 toSerializedString (Ljava/util/UUID;)[B
|
2022-06-27 14:53:13 -04:00
|
|
|
ARG 1 playerUuid
|
2022-05-12 09:36:43 -04:00
|
|
|
METHOD method_43704 isExpired ()Z
|
2022-05-17 05:56:35 -04:00
|
|
|
METHOD method_44011 write (Lnet/minecraft/class_2540;)V
|
|
|
|
ARG 1 buf
|
2022-06-23 14:15:36 -04:00
|
|
|
METHOD method_44205 verifyKey (Lnet/minecraft/class_7500;Ljava/util/UUID;)Z
|
2022-05-23 08:07:30 -04:00
|
|
|
ARG 1 servicesSignatureVerifier
|
2022-06-27 14:53:13 -04:00
|
|
|
ARG 2 playerUuid
|
2022-08-20 11:50:41 -04:00
|
|
|
METHOD method_45103 isExpired (Ljava/time/Duration;)Z
|
|
|
|
COMMENT {@return whether the key is expired, with the provided grace period taken into account}
|
|
|
|
ARG 1 gracePeriod
|
|
|
|
CLASS class_7652 PublicKeyException
|