antimatter.session_mixins.encryption_mixin#

Module Contents#

Classes#

EncryptionMixin

Session mixin defining CRUD functionality for encryption functionality.

class antimatter.session_mixins.encryption_mixin.EncryptionMixin(domain: str, client_func: Callable[[], antimatter.client.DefaultApi], **kwargs)#

Session mixin defining CRUD functionality for encryption functionality.

Parameters:
  • domain – The domain to use for the session.

  • client – The client to use for the session.

flush_encryption_keys()#

Flush all keys in memory. The keys will be immediately reloaded from persistent storage, forcing a check that the domain’s root key is still available