Skip to main content

TimestampSigner

Python API reference for the class timed.TimestampSigner.

Public API

Class: TimestampSigner

Canonical path: timed.TimestampSigner

Declared in: timed.py

Signature

class TimestampSigner(Signer): ...

Summary

Works like the regular :class:`.Signer` but also records the time of the signing and can be used to expire signatures. The :meth:`unsign` method can raise :exc:`.SignatureExpired` if the unsigning failed because the signature is expired.