Class McpProtectionKey

java.lang.Object
com.soklet.McpProtectionKey

@ThreadSafe public final class McpProtectionKey extends Object
Immutable, purpose-specific MCP request-state protection master key.

Supplied bytes are defensively copied and are never exposed through the public API, diagnostic rendering, logs, metrics, fingerprints, or exception messages. Applications remain responsible for generating key material with a cryptographically secure random source and at least 256 bits of entropy.

Instances intentionally retain reference identity so secret key material never participates in public equality or hash-code operations. Use McpProtectionKeyringSnapshot.getFingerprint() when comparing complete non-secret keyring configurations across instances.

Author:
Mark Allen