Package net.minecraft.util
Interface SignatureValidator
public interface SignatureValidator
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SignatureValidator
from
(com.mojang.authlib.yggdrasil.ServicesKeyInfo p_216359_) static SignatureValidator
default boolean
validate
(byte[] p_216376_, byte[] p_216377_) boolean
validate
(SignatureUpdater p_216379_, byte[] p_216380_) private static boolean
verifySignature
(SignatureUpdater p_216355_, byte[] p_216356_, Signature p_216357_)
-
Field Details
-
NO_VALIDATION
-
LOGGER
static final org.slf4j.Logger LOGGER
-
-
Method Details
-
validate
-
validate
default boolean validate(byte[] p_216376_, byte[] p_216377_) -
verifySignature
private static boolean verifySignature(SignatureUpdater p_216355_, byte[] p_216356_, Signature p_216357_) throws SignatureException - Throws:
SignatureException
-
from
-
from
-