Class MessageVerifier.Unsigned

java.lang.Object
net.minecraft.network.message.MessageVerifier.Unsigned
All Implemented Interfaces:
MessageVerifier
Enclosing interface:
MessageVerifier

public static class MessageVerifier.Unsigned extends Object implements MessageVerifier
Mappings:
Namespace Name
official si$c
intermediary net/minecraft/class_7615$class_7651
named net/minecraft/network/message/MessageVerifier$Unsigned
  • Field Details

    • secureChatEnforced

      private final boolean secureChatEnforced
      Mappings:
      Namespace Name Mixin selector
      official a Lsi$c;a:Z
      intermediary field_39952 Lnet/minecraft/class_7615$class_7651;field_39952:Z
      named secureChatEnforced Lnet/minecraft/network/message/MessageVerifier$Unsigned;secureChatEnforced:Z
  • Constructor Details

    • Unsigned

      public Unsigned(boolean secureChatEnforced)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsi$c;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_7615$class_7651;<init>(Z)V
      named <init> Lnet/minecraft/network/message/MessageVerifier$Unsigned;<init>(Z)V
  • Method Details

    • getStatus

      private MessageVerifier.Status getStatus(MessageSignatureData signature)
      Mappings:
      Namespace Name Mixin selector
      official a Lsi$c;a(Lrz;)Lsi$b;
      intermediary method_45102 Lnet/minecraft/class_7615$class_7651;method_45102(Lnet/minecraft/class_7469;)Lnet/minecraft/class_7615$class_7646;
      named getStatus Lnet/minecraft/network/message/MessageVerifier$Unsigned;getStatus(Lnet/minecraft/network/message/MessageSignatureData;)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 interface MessageVerifier
      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

      public MessageVerifier.Status verify(SignedMessage message)
      Returns the status of verifying the message.
      Specified by:
      verify in interface MessageVerifier
      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;