Expand description
Player profile public key management for secure chat.
Ported from net/minecraft/world/entity/player/ProfilePublicKey.java
Modules§
Structs§
- Profile
Public Key - Validated profile public key.
- Profile
Public KeyData - Profile public key data containing key, expiry, and Mojang signature.
- Remote
Chat Session - Remote chat session containing session ID and validated public key.
- Remote
Chat Session Data - Network-serializable chat session data.
Enums§
- Validation
Error - 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