|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self) |
| def | __setitem__ (self, key, value) |
| def | __getitem__ (self, item) |
Static Public Attributes | |
| CACHE_KEY_TYPE | |
A cache for OCSP responses.
| def __init__ | ( | self | ) |
| def __getitem__ | ( | self, | |
| item | |||
| ) |
Get a cache entry if it exists. 'item' is of type cryptography.x509.ocsp.OCSPRequest Raises KeyError if the item is not in the cache.
| def __setitem__ | ( | self, | |
| key, | |||
| value | |||
| ) |
Add/update a cache entry. 'key' is of type cryptography.x509.ocsp.OCSPRequest 'value' is of type cryptography.x509.ocsp.OCSPResponse Validity of the OCSP response must be checked by caller.
|
static |