Interface SessionProtection
- All Known Implementing Classes:
FileSessionProtection
public interface SessionProtection
Workload-owned authenticated encryption. There is deliberately no plaintext or default-key adapter.
Implementations must bind every Context component as AAD, use fresh nonces and fail closed on any
authentication/key error. Key custody, rotation and physical retention belong to that adapter.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordOnly authenticated ciphertext and a non-secret key version may enter either Model document. -
Method Summary
Modifier and TypeMethodDescriptionopen(SessionProtection.Context context, SessionProtection.SealedValue ciphertext) seal(SessionProtection.Context context, SecretValue plaintext)
-
Method Details
-
seal
-
open
-