Interface SignatureVerifier


public interface SignatureVerifier
Mappings:
Namespace Name
named net/minecraft/network/encryption/SignatureVerifier
intermediary net/minecraft/class_7500
official ayt
  • Field Details

    • NOOP

      static final SignatureVerifier NOOP
      Mappings:
      Namespace Name Mixin selector
      named NOOP Lnet/minecraft/network/encryption/SignatureVerifier;NOOP:Lnet/minecraft/network/encryption/SignatureVerifier;
      intermediary field_39397 Lnet/minecraft/class_7500;field_39397:Lnet/minecraft/class_7500;
      official a Layt;a:Layt;
    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/network/encryption/SignatureVerifier;LOGGER:Lorg/slf4j/Logger;
      intermediary field_39398 Lnet/minecraft/class_7500;field_39398:Lorg/slf4j/Logger;
      official b Layt;b:Lorg/slf4j/Logger;
  • Method Details

    • validate

      boolean validate(SignatureUpdatable updatable, byte[] signatureData)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/network/encryption/SignatureVerifier;validate(Lnet/minecraft/network/encryption/SignatureUpdatable;[B)Z
      intermediary validate Lnet/minecraft/class_7500;validate(Lnet/minecraft/class_7498;[B)Z
      official validate Layt;validate(Lays;[B)Z
    • validate

      default boolean validate(byte[] signedData, byte[] signatureData)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/network/encryption/SignatureVerifier;validate([B[B)Z
      intermediary method_44177 Lnet/minecraft/class_7500;method_44177([B[B)Z
      official a Layt;a([B[B)Z
    • verify

      private static boolean verify(SignatureUpdatable updatable, byte[] signatureData, Signature signature) throws SignatureException
      Throws:
      SignatureException
      Mappings:
      Namespace Name Mixin selector
      named verify Lnet/minecraft/network/encryption/SignatureVerifier;verify(Lnet/minecraft/network/encryption/SignatureUpdatable;[BLjava/security/Signature;)Z
      intermediary method_44171 Lnet/minecraft/class_7500;method_44171(Lnet/minecraft/class_7498;[BLjava/security/Signature;)Z
      official a Layt;a(Lays;[BLjava/security/Signature;)Z
    • create

      static SignatureVerifier create(PublicKey publicKey, String algorithm)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/network/encryption/SignatureVerifier;create(Ljava/security/PublicKey;Ljava/lang/String;)Lnet/minecraft/network/encryption/SignatureVerifier;
      intermediary method_44175 Lnet/minecraft/class_7500;method_44175(Ljava/security/PublicKey;Ljava/lang/String;)Lnet/minecraft/class_7500;
      official a Layt;a(Ljava/security/PublicKey;Ljava/lang/String;)Layt;
    • create

      @Nullable static @Nullable SignatureVerifier create(com.mojang.authlib.yggdrasil.ServicesKeySet servicesKeySet, com.mojang.authlib.yggdrasil.ServicesKeyType servicesKeyType)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/network/encryption/SignatureVerifier;create(Lcom/mojang/authlib/yggdrasil/ServicesKeySet;Lcom/mojang/authlib/yggdrasil/ServicesKeyType;)Lnet/minecraft/network/encryption/SignatureVerifier;
      intermediary method_44172 Lnet/minecraft/class_7500;method_44172(Lcom/mojang/authlib/yggdrasil/ServicesKeySet;Lcom/mojang/authlib/yggdrasil/ServicesKeyType;)Lnet/minecraft/class_7500;
      official a Layt;a(Lcom/mojang/authlib/yggdrasil/ServicesKeySet;Lcom/mojang/authlib/yggdrasil/ServicesKeyType;)Layt;