Interface SignatureVerifier


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

    • NOOP

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

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

    • validate

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

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

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

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

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