Package net.minecraft.network.chat
Class SignedMessageValidator.KeyBased
java.lang.Object
net.minecraft.network.chat.SignedMessageValidator.KeyBased
- All Implemented Interfaces:
SignedMessageValidator
- Enclosing interface:
- SignedMessageValidator
public static class SignedMessageValidator.KeyBased
extends Object
implements SignedMessageValidator
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.chat.SignedMessageValidator
SignedMessageValidator.KeyBased, SignedMessageValidator.State, SignedMessageValidator.Unsigned
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private MessageSignature
private final SignatureValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate SignedMessageValidator.State
updateAndValidate
(SignedMessageHeader p_243211_, MessageSignature p_243274_, byte[] p_243209_, boolean p_243324_) private boolean
validateChain
(SignedMessageHeader p_243280_, MessageSignature p_243215_, boolean p_243312_) private boolean
validateContents
(SignedMessageHeader p_243269_, MessageSignature p_243259_, byte[] p_243265_, boolean p_243221_) validateHeader
(SignedMessageHeader p_242886_, MessageSignature p_242853_, byte[] p_242869_) validateMessage
(PlayerChatMessage p_242943_)
-
Field Details
-
validator
-
lastSignature
-
isChainConsistent
private boolean isChainConsistent
-
-
Constructor Details
-
KeyBased
-
-
Method Details
-
validateChain
private boolean validateChain(SignedMessageHeader p_243280_, MessageSignature p_243215_, boolean p_243312_) -
validateContents
private boolean validateContents(SignedMessageHeader p_243269_, MessageSignature p_243259_, byte[] p_243265_, boolean p_243221_) -
updateAndValidate
private SignedMessageValidator.State updateAndValidate(SignedMessageHeader p_243211_, MessageSignature p_243274_, byte[] p_243209_, boolean p_243324_) -
validateHeader
public SignedMessageValidator.State validateHeader(SignedMessageHeader p_242886_, MessageSignature p_242853_, byte[] p_242869_) - Specified by:
validateHeader
in interfaceSignedMessageValidator
-
validateMessage
- Specified by:
validateMessage
in interfaceSignedMessageValidator
-