Skip to main content

Module profile_key

Module profile_key 

Source
Expand description

Player profile public key management for secure chat.

Ported from net/minecraft/world/entity/player/ProfilePublicKey.java

Modules§

signature_helpers 🔒

Structs§

ProfilePublicKey
Validated profile public key.
ProfilePublicKeyData
Profile public key data containing key, expiry, and Mojang signature.
RemoteChatSession
Remote chat session containing session ID and validated public key.
RemoteChatSessionData
Network-serializable chat session data.

Enums§

ValidationError
Errors that can occur during profile key validation

Constants§

EXPIRY_GRACE_PERIOD
Grace period for expired keys (8 hours, as in vanilla)
MAX_KEY_SIGNATURE_SIZE
Maximum size of key signature in bytes