Package net.minestom.server.crypto
package net.minestom.server.crypto
-
ClassDescriptionPlayer's public key used to sign chat messagesGeneral purpose functional interface to verify signatures.
Built in validators:SignatureValidator.PASS
: will always report trueSignatureValidator.FAIL
: will always report falseSignatureValidator.YGGDRASIL
: Uses SHA1 with RSA and Yggdrasil Public Key for verifying signaturesSignatureValidator.from(Player)
: Uses SHA256 with RSA and the Player'sPlayerPublicKey.publicKey()
SignatureValidator.from(PublicKey, KeyUtils.SignatureAlgorithm)
: General purpose factory method