Interface SignatureVerifier


public interface SignatureVerifier
Mappings:
Namespace Name
official amp
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 Lamp;a:Lamp;
      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 Lamp;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 Lamp;validate(Lamo;[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 Lamp;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 Lamp;a(Lamo;[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 Lamp;a(Ljava/security/PublicKey;Ljava/lang/String;)Lamp;
      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

      static SignatureVerifier create(com.mojang.authlib.yggdrasil.ServicesKeyInfo servicesKeyInfo)
      Mappings:
      Namespace Name Mixin selector
      official a Lamp;a(Lcom/mojang/authlib/yggdrasil/ServicesKeyInfo;)Lamp;
      intermediary method_44172 Lnet/minecraft/class_7500;method_44172(Lcom/mojang/authlib/yggdrasil/ServicesKeyInfo;)Lnet/minecraft/class_7500;
      named create Lnet/minecraft/network/encryption/SignatureVerifier;create(Lcom/mojang/authlib/yggdrasil/ServicesKeyInfo;)Lnet/minecraft/network/encryption/SignatureVerifier;