yarn/mappings/net/minecraft/network/encryption/PlayerPublicKey.mapping

38 lines
1.8 KiB
Plaintext

CLASS net/minecraft/class_7428 net/minecraft/network/encryption/PlayerPublicKey
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
COMMENT @see net.minecraft.client.util.ProfileKeys
COMMENT @see PlayerKeyPair
FIELD field_39050 CODEC Lcom/mojang/serialization/Codec;
METHOD method_43550 verifyAndDecode (Lnet/minecraft/class_7500;Ljava/util/UUID;Lnet/minecraft/class_7428$class_7443;Ljava/time/Duration;)Lnet/minecraft/class_7428;
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,
COMMENT and not expired.
COMMENT
COMMENT @throws InsecurePublicKeyException.MissingException when the key is missing or empty
COMMENT @throws InsecurePublicKeyException.InvalidException when the key does not belong to the profile, is unsigned, or expired
COMMENT @throws NetworkEncryptionException when the key is malformed
ARG 0 servicesSignatureVerifier
ARG 1 playerUuid
ARG 2 publicKeyData
METHOD method_43697 createSignatureInstance ()Lnet/minecraft/class_7500;
CLASS class_7443 PublicKeyData
FIELD field_39119 CODEC Lcom/mojang/serialization/Codec;
FIELD field_39309 KEY_SIGNATURE_MAX_SIZE I
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD method_43701 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_43702 toSerializedString (Ljava/util/UUID;)[B
ARG 1 playerUuid
METHOD method_43704 isExpired ()Z
METHOD method_44011 write (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD method_44205 verifyKey (Lnet/minecraft/class_7500;Ljava/util/UUID;)Z
ARG 1 servicesSignatureVerifier
ARG 2 playerUuid