Package net.minecraft.network.encryption
Record Class PlayerPublicKey
java.lang.Object
java.lang.Record
net.minecraft.network.encryption.PlayerPublicKey
- Record Components:
expiresAt
-keyString
-signature
-
- Mappings:
Namespace Name official brv
intermediary net/minecraft/class_7428
named net/minecraft/network/encryption/PlayerPublicKey
official b
intermediary comp_744
named expiresAt
official c
intermediary comp_745
named keyString
official d
intermediary comp_746
named signature
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Instant
The field for theexpiresAt
record component.static final com.mojang.serialization.Codec<PlayerPublicKey>
private final String
The field for thekeyString
record component.private static final String
private final String
The field for thesignature
record component. -
Constructor Summary
ConstructorsConstructorDescriptionPlayerPublicKey
(com.mojang.datafixers.util.Pair<Instant, String> expiresAtAndKey, String signature) PlayerPublicKey
(Instant instant, String string, String string2) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexpiresAt
record component.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of thekeyString
record component.static Optional<PlayerPublicKey>
method_43549
(com.mojang.authlib.GameProfile gameProfile) method_43550
(com.mojang.authlib.minecraft.MinecraftSessionService sessionService) method_43552
(String key) com.mojang.authlib.GameProfile
method_43555
(com.mojang.authlib.GameProfile gameProfile) Returns the value of thesignature
record component.com.mojang.authlib.properties.Property
final String
toString()
Returns a string representation of this record class.
-
Field Details
-
expiresAt
The field for theexpiresAt
record component. -
keyString
The field for thekeyString
record component. -
signature
The field for thesignature
record component. -
field_39050
- Mappings:
Namespace Name Mixin selector official a
Lbrv;a:Lcom/mojang/serialization/Codec;
intermediary field_39050
Lnet/minecraft/class_7428;field_39050:Lcom/mojang/serialization/Codec;
named field_39050
Lnet/minecraft/network/encryption/PlayerPublicKey;field_39050:Lcom/mojang/serialization/Codec;
-
PUBLIC_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lbrv;e:Ljava/lang/String;
intermediary field_39051
Lnet/minecraft/class_7428;field_39051:Ljava/lang/String;
named PUBLIC_KEY
Lnet/minecraft/network/encryption/PlayerPublicKey;PUBLIC_KEY:Ljava/lang/String;
-
-
Constructor Details
-
PlayerPublicKey
public PlayerPublicKey(com.mojang.datafixers.util.Pair<Instant, String> expiresAtAndKey, String signature) - Mappings:
Namespace Name Mixin selector official <init>
Lbrv;<init>(Lcom/mojang/datafixers/util/Pair;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_7428;<init>(Lcom/mojang/datafixers/util/Pair;Ljava/lang/String;)V
named <init>
Lnet/minecraft/network/encryption/PlayerPublicKey;<init>(Lcom/mojang/datafixers/util/Pair;Ljava/lang/String;)V
-
PlayerPublicKey
-
-
Method Details
-
method_43549
- Mappings:
Namespace Name Mixin selector official a
Lbrv;a(Lcom/mojang/authlib/GameProfile;)Ljava/util/Optional;
intermediary method_43549
Lnet/minecraft/class_7428;method_43549(Lcom/mojang/authlib/GameProfile;)Ljava/util/Optional;
named method_43549
Lnet/minecraft/network/encryption/PlayerPublicKey;method_43549(Lcom/mojang/authlib/GameProfile;)Ljava/util/Optional;
-
method_43555
public com.mojang.authlib.GameProfile method_43555(com.mojang.authlib.GameProfile gameProfile) - Mappings:
Namespace Name Mixin selector official b
Lbrv;b(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
intermediary method_43555
Lnet/minecraft/class_7428;method_43555(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
named method_43555
Lnet/minecraft/network/encryption/PlayerPublicKey;method_43555(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
-
method_43550
public PlayerPublicKey.class_7429 method_43550(com.mojang.authlib.minecraft.MinecraftSessionService sessionService) throws com.mojang.authlib.minecraft.InsecurePublicKeyException, NetworkEncryptionException - Throws:
com.mojang.authlib.minecraft.InsecurePublicKeyException
NetworkEncryptionException
- Mappings:
Namespace Name Mixin selector official a
Lbrv;a(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)Lbrv$a;
intermediary method_43550
Lnet/minecraft/class_7428;method_43550(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)Lnet/minecraft/class_7428$class_7429;
named method_43550
Lnet/minecraft/network/encryption/PlayerPublicKey;method_43550(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)Lnet/minecraft/network/encryption/PlayerPublicKey$class_7429;
-
method_43552
- Mappings:
Namespace Name Mixin selector official a
Lbrv;a(Ljava/lang/String;)Ljava/util/Optional;
intermediary method_43552
Lnet/minecraft/class_7428;method_43552(Ljava/lang/String;)Ljava/util/Optional;
named method_43552
Lnet/minecraft/network/encryption/PlayerPublicKey;method_43552(Ljava/lang/String;)Ljava/util/Optional;
-
toProperty
public com.mojang.authlib.properties.Property toProperty()- Mappings:
Namespace Name Mixin selector official a
Lbrv;a()Lcom/mojang/authlib/properties/Property;
intermediary method_43548
Lnet/minecraft/class_7428;method_43548()Lcom/mojang/authlib/properties/Property;
named toProperty
Lnet/minecraft/network/encryption/PlayerPublicKey;toProperty()Lcom/mojang/authlib/properties/Property;
-
isExpired
public boolean isExpired()- Mappings:
Namespace Name Mixin selector official b
Lbrv;b()Z
intermediary method_43554
Lnet/minecraft/class_7428;method_43554()Z
named isExpired
Lnet/minecraft/network/encryption/PlayerPublicKey;isExpired()Z
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
expiresAt
Returns the value of theexpiresAt
record component.- Returns:
- the value of the
expiresAt
record component
-
keyString
Returns the value of thekeyString
record component.- Returns:
- the value of the
keyString
record component
-
signature
Returns the value of thesignature
record component.- Returns:
- the value of the
signature
record component
-