Package net.minecraft.network.message
Class MessageVerifier.Impl
java.lang.Object
net.minecraft.network.message.MessageVerifier.Impl
- All Implemented Interfaces:
MessageVerifier
- Enclosing interface:
MessageVerifier
- Mappings:
Namespace Name official si$a
intermediary net/minecraft/class_7615$class_7616
named net/minecraft/network/message/MessageVerifier$Impl
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.message.MessageVerifier
MessageVerifier.Impl, MessageVerifier.Status, MessageVerifier.Unsigned
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private @Nullable MessageSignatureData
private final SignatureVerifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate MessageVerifier.Status
getStatus
(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest, boolean fullMessage) verify
(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest) Returns the status of verifying the header.verify
(SignedMessage message) Returns the status of verifying the message.private boolean
verifyInternal
(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest, boolean fullMessage) private boolean
verifyPrecedingSignature
(MessageHeader header, MessageSignatureData signature, boolean fullMessage)
-
Field Details
-
signatureVerifier
- Mappings:
Namespace Name Mixin selector official a
Lsi$a;a:Lamp;
intermediary field_39822
Lnet/minecraft/class_7615$class_7616;field_39822:Lnet/minecraft/class_7500;
named signatureVerifier
Lnet/minecraft/network/message/MessageVerifier$Impl;signatureVerifier:Lnet/minecraft/network/encryption/SignatureVerifier;
-
precedingSignature
- Mappings:
Namespace Name Mixin selector official b
Lsi$a;b:Lrz;
intermediary field_39823
Lnet/minecraft/class_7615$class_7616;field_39823:Lnet/minecraft/class_7469;
named precedingSignature
Lnet/minecraft/network/message/MessageVerifier$Impl;precedingSignature:Lnet/minecraft/network/message/MessageSignatureData;
-
lastMessageVerified
private boolean lastMessageVerified- Mappings:
Namespace Name Mixin selector official c
Lsi$a;c:Z
intermediary field_39821
Lnet/minecraft/class_7615$class_7616;field_39821:Z
named lastMessageVerified
Lnet/minecraft/network/message/MessageVerifier$Impl;lastMessageVerified:Z
-
-
Constructor Details
-
Impl
- Mappings:
Namespace Name Mixin selector official <init>
Lsi$a;<init>(Lamp;)V
intermediary <init>
Lnet/minecraft/class_7615$class_7616;<init>(Lnet/minecraft/class_7500;)V
named <init>
Lnet/minecraft/network/message/MessageVerifier$Impl;<init>(Lnet/minecraft/network/encryption/SignatureVerifier;)V
-
-
Method Details
-
verifyPrecedingSignature
private boolean verifyPrecedingSignature(MessageHeader header, MessageSignatureData signature, boolean fullMessage) - Mappings:
Namespace Name Mixin selector official a
Lsi$a;a(Lsh;Lrz;Z)Z
intermediary method_44996
Lnet/minecraft/class_7615$class_7616;method_44996(Lnet/minecraft/class_7614;Lnet/minecraft/class_7469;Z)Z
named verifyPrecedingSignature
Lnet/minecraft/network/message/MessageVerifier$Impl;verifyPrecedingSignature(Lnet/minecraft/network/message/MessageHeader;Lnet/minecraft/network/message/MessageSignatureData;Z)Z
-
verifyInternal
private boolean verifyInternal(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest, boolean fullMessage) - Mappings:
Namespace Name Mixin selector official a
Lsi$a;a(Lsh;Lrz;[BZ)Z
intermediary method_44997
Lnet/minecraft/class_7615$class_7616;method_44997(Lnet/minecraft/class_7614;Lnet/minecraft/class_7469;[BZ)Z
named verifyInternal
Lnet/minecraft/network/message/MessageVerifier$Impl;verifyInternal(Lnet/minecraft/network/message/MessageHeader;Lnet/minecraft/network/message/MessageSignatureData;[BZ)Z
-
getStatus
private MessageVerifier.Status getStatus(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest, boolean fullMessage) - Mappings:
Namespace Name Mixin selector official b
Lsi$a;b(Lsh;Lrz;[BZ)Lsi$b;
intermediary method_45048
Lnet/minecraft/class_7615$class_7616;method_45048(Lnet/minecraft/class_7614;Lnet/minecraft/class_7469;[BZ)Lnet/minecraft/class_7615$class_7646;
named getStatus
Lnet/minecraft/network/message/MessageVerifier$Impl;getStatus(Lnet/minecraft/network/message/MessageHeader;Lnet/minecraft/network/message/MessageSignatureData;[BZ)Lnet/minecraft/network/message/MessageVerifier$Status;
-
verify
public MessageVerifier.Status verify(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest) Returns the status of verifying the header.Clients can receive only the message header instead of the whole message. This allows the verification of such messages.
- Specified by:
verify
in interfaceMessageVerifier
- Returns:
- the status of verifying the header
- Mappings:
Namespace Name Mixin selector official a
Lsi;a(Lsh;Lrz;[B)Lsi$b;
intermediary method_44887
Lnet/minecraft/class_7615;method_44887(Lnet/minecraft/class_7614;Lnet/minecraft/class_7469;[B)Lnet/minecraft/class_7615$class_7646;
named verify
Lnet/minecraft/network/message/MessageVerifier;verify(Lnet/minecraft/network/message/MessageHeader;Lnet/minecraft/network/message/MessageSignatureData;[B)Lnet/minecraft/network/message/MessageVerifier$Status;
-
verify
Returns the status of verifying the message.- Specified by:
verify
in interfaceMessageVerifier
- Returns:
- the status of verifying the message
- Mappings:
Namespace Name Mixin selector official a
Lsi;a(Lsd;)Lsi$b;
intermediary method_44886
Lnet/minecraft/class_7615;method_44886(Lnet/minecraft/class_7471;)Lnet/minecraft/class_7615$class_7646;
named verify
Lnet/minecraft/network/message/MessageVerifier;verify(Lnet/minecraft/network/message/SignedMessage;)Lnet/minecraft/network/message/MessageVerifier$Status;
-