Class MessageVerifier.Impl

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

public static class MessageVerifier.Impl extends Object implements MessageVerifier
Mappings:
Namespace Name
official wb$a
intermediary net/minecraft/class_7615$class_7616
named net/minecraft/network/message/MessageVerifier$Impl
  • Field Details

    • signatureVerifier

      private final SignatureVerifier signatureVerifier
      Mappings:
      Namespace Name Mixin selector
      official d Lwb$a;d:Lavc;
      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;
    • expirationChecker

      private final BooleanSupplier expirationChecker
      Mappings:
      Namespace Name Mixin selector
      official e Lwb$a;e:Ljava/util/function/BooleanSupplier;
      intermediary field_45958 Lnet/minecraft/class_7615$class_7616;field_45958:Ljava/util/function/BooleanSupplier;
      named expirationChecker Lnet/minecraft/network/message/MessageVerifier$Impl;expirationChecker:Ljava/util/function/BooleanSupplier;
    • lastVerifiedMessage

      @Nullable private @Nullable SignedMessage lastVerifiedMessage
      Mappings:
      Namespace Name Mixin selector
      official f Lwb$a;f:Lvv;
      intermediary field_40697 Lnet/minecraft/class_7615$class_7616;field_40697:Lnet/minecraft/class_7471;
      named lastVerifiedMessage Lnet/minecraft/network/message/MessageVerifier$Impl;lastVerifiedMessage:Lnet/minecraft/network/message/SignedMessage;
    • lastMessageVerified

      private boolean lastMessageVerified
      Mappings:
      Namespace Name Mixin selector
      official g Lwb$a;g: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

      public Impl(SignatureVerifier signatureVerifier, BooleanSupplier expirationChecker)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwb$a;<init>(Lavc;Ljava/util/function/BooleanSupplier;)V
      intermediary <init> Lnet/minecraft/class_7615$class_7616;<init>(Lnet/minecraft/class_7500;Ljava/util/function/BooleanSupplier;)V
      named <init> Lnet/minecraft/network/message/MessageVerifier$Impl;<init>(Lnet/minecraft/network/encryption/SignatureVerifier;Ljava/util/function/BooleanSupplier;)V
  • Method Details

    • verifyPrecedingSignature

      private boolean verifyPrecedingSignature(SignedMessage message)
      Mappings:
      Namespace Name Mixin selector
      official a Lwb$a;a(Lvv;)Z
      intermediary method_44996 Lnet/minecraft/class_7615$class_7616;method_44996(Lnet/minecraft/class_7471;)Z
      named verifyPrecedingSignature Lnet/minecraft/network/message/MessageVerifier$Impl;verifyPrecedingSignature(Lnet/minecraft/network/message/SignedMessage;)Z
    • verify

      private boolean verify(SignedMessage message)
      Mappings:
      Namespace Name Mixin selector
      official b Lwb$a;b(Lvv;)Z
      intermediary method_53509 Lnet/minecraft/class_7615$class_7616;method_53509(Lnet/minecraft/class_7471;)Z
      named verify Lnet/minecraft/network/message/MessageVerifier$Impl;verify(Lnet/minecraft/network/message/SignedMessage;)Z
    • ensureVerified

      @Nullable public @Nullable SignedMessage ensureVerified(SignedMessage message)
      Specified by:
      ensureVerified in interface MessageVerifier
      Mappings:
      Namespace Name Mixin selector
      official updateAndValidate Lwb;updateAndValidate(Lvv;)Lvv;
      intermediary method_45048 Lnet/minecraft/class_7615;method_45048(Lnet/minecraft/class_7471;)Lnet/minecraft/class_7471;
      named ensureVerified Lnet/minecraft/network/message/MessageVerifier;ensureVerified(Lnet/minecraft/network/message/SignedMessage;)Lnet/minecraft/network/message/SignedMessage;