Module ticketer

Module ticketer 

Source

Structs§

AeadTicketer 🔒
This is a ProducesTickets implementation which uses any ring aead::Algorithm to encrypt and authentication the ticket payload. It does not enforce any lifetime constraint.
TicketSwitcher 🔒
A ticketer that has a ‘current’ sub-ticketer and a single ‘previous’ ticketer. It creates a new ticketer every so often, demoting the current ticketer.
TicketSwitcherState 🔒
Ticketer
A concrete, safe ticket creation mechanism.
TimeBase
The timebase for expiring and rolling tickets and ticketing keys. This is UNIX wall time in seconds.

Functions§

generate_inner 🔒